From 90f4ebc15f7db4cffb387a4cb639fc3c9974b7b8 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Sun, 18 Apr 2021 13:10:00 +0200 Subject: [PATCH] fixed profiles not installing after updating them --- AM2RLauncher/AM2RLauncher/CrossPlatformOperations.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/AM2RLauncher/AM2RLauncher/CrossPlatformOperations.cs b/AM2RLauncher/AM2RLauncher/CrossPlatformOperations.cs index 5ab8c76..426eaf7 100644 --- a/AM2RLauncher/AM2RLauncher/CrossPlatformOperations.cs +++ b/AM2RLauncher/AM2RLauncher/CrossPlatformOperations.cs @@ -282,7 +282,14 @@ namespace AM2RLauncher } else if (currentPlatform.IsGtk) { - using (Process proc = Process.Start("xdelta3", arguments)) + ProcessStartInfo parameters = new ProcessStartInfo + { + FileName = "xdelta3", + Arguments = arguments, + WorkingDirectory = CURRENTPATH + }; + + using (Process proc = Process.Start(parameters)) { proc.WaitForExit(); }