diff --git a/source/Reloaded.Mod.Installer.Lib/MainWindowViewModel.cs b/source/Reloaded.Mod.Installer.Lib/MainWindowViewModel.cs index fd3b0623..beb240d3 100644 --- a/source/Reloaded.Mod.Installer.Lib/MainWindowViewModel.cs +++ b/source/Reloaded.Mod.Installer.Lib/MainWindowViewModel.cs @@ -177,7 +177,11 @@ private static void LinuxTryMarkAsExecutable(string windowsPath) { windowsPath = windowsPath.Replace('\\', '/'); windowsPath = windowsPath.Replace("Z:", ""); - try { Process.Start($"chmod +x \"{windowsPath}\""); } + var process = $"Z:/bin/chmod +x \"{windowsPath}\""; + var processAlt = $"Z:/usr/bin/chmod +x \"{windowsPath}\""; + try { Process.Start(process); } + catch (Exception) { /* ignored */ } + try { Process.Start(processAlt); } catch (Exception) { /* ignored */ } }