diff --git a/CHANGELOG.md b/CHANGELOG.md index a13f2d720..d4d14700d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2 - Fixed SynchronizationLockException when saving settings - Improved error messages with process output for 7z extraction errors - Fixed missing tkinter dependency for OneTrainer on Windows +- Fixed auto-update on macOS not starting new version from an issue in starting .app bundles with arguments ## v2.8.0 ### Added diff --git a/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs index 1e2dace5b..55b6c896b 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs @@ -595,6 +595,7 @@ AppData Directory [SpecialFolder.ApplicationData] AppDataHome: {Compat.AppDataHome} AppCurrentDir: {Compat.AppCurrentDir} ExecutableName: {Compat.GetExecutableName()} + AppName: {Compat.GetAppName()} -- Settings -- Expected Portable Marker file: {expectedPortableFile} Portable Marker file exists: {isPortableMode} diff --git a/StabilityMatrix.Core/Processes/ProcessRunner.cs b/StabilityMatrix.Core/Processes/ProcessRunner.cs index 2da50556b..e0f08caf9 100644 --- a/StabilityMatrix.Core/Processes/ProcessRunner.cs +++ b/StabilityMatrix.Core/Processes/ProcessRunner.cs @@ -39,7 +39,7 @@ public static Process StartApp(string path, ProcessArgs args) if (Compat.IsMacOS) { startInfo.FileName = "open"; - startInfo.Arguments = args.Prepend(path).ToString(); + startInfo.Arguments = args.Prepend([path, "--args"]).ToString(); startInfo.UseShellExecute = true; } else