Use MPV_CONFIG_DIR env var for command palette installer script

This commit is contained in:
stax76
2024-11-03 11:30:19 +01:00
parent ace7566c2a
commit 37a241f136

View File

@@ -277,7 +277,7 @@ public class GuiCommand
try
{
Environment.SetEnvironmentVariable("MPVNET_HOME", Player.ConfigFolder);
Environment.SetEnvironmentVariable("MPV_CONFIG_DIR", Player.ConfigFolder);
using Process proc = new Process();
proc.StartInfo.FileName = "powershell";
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\"";