Skip to content

Commit 37a241f

Browse files
committed
Use MPV_CONFIG_DIR env var for command palette installer script
1 parent ace7566 commit 37a241f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MpvNet.Windows/GuiCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ void InstallCommandPalette()
277277

278278
try
279279
{
280-
Environment.SetEnvironmentVariable("MPVNET_HOME", Player.ConfigFolder);
280+
Environment.SetEnvironmentVariable("MPV_CONFIG_DIR", Player.ConfigFolder);
281281
using Process proc = new Process();
282282
proc.StartInfo.FileName = "powershell";
283283
proc.StartInfo.Arguments = "-executionpolicy bypass -nologo -noexit -noprofile -command \"irm https://raw.githubusercontent.com/stax76/mpv-scripts/refs/heads/main/powershell/command_palette_installer.ps1 | iex\"";

0 commit comments

Comments
 (0)