From 37a241f136f0ec5aa3a3a7ff8ec05c114c588c60 Mon Sep 17 00:00:00 2001 From: stax76 Date: Sun, 3 Nov 2024 11:30:19 +0100 Subject: [PATCH] Use MPV_CONFIG_DIR env var for command palette installer script --- src/MpvNet.Windows/GuiCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MpvNet.Windows/GuiCommand.cs b/src/MpvNet.Windows/GuiCommand.cs index ef3124d..c6744de 100644 --- a/src/MpvNet.Windows/GuiCommand.cs +++ b/src/MpvNet.Windows/GuiCommand.cs @@ -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\"";