From ad19b620c8d3697584fb93468ab0bacf943d288b Mon Sep 17 00:00:00 2001 From: ionite34 Date: Mon, 5 Feb 2024 19:18:23 -0500 Subject: [PATCH 1/3] Fix StartApp with args on macos --- StabilityMatrix.Core/Processes/ProcessRunner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 3ea66c2bdff415871a7e34b3a5a014c50007d5a7 Mon Sep 17 00:00:00 2001 From: ionite34 Date: Mon, 5 Feb 2024 19:19:20 -0500 Subject: [PATCH 2/3] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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 From 2e4989c521dd623c780f11f706f07f46f23ee3e2 Mon Sep 17 00:00:00 2001 From: ionite34 Date: Mon, 5 Feb 2024 19:22:38 -0500 Subject: [PATCH 3/3] Add app name to debug info --- .../ViewModels/Settings/MainSettingsViewModel.cs | 1 + 1 file changed, 1 insertion(+) 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}