Skip to content

Commit

Permalink
Merge pull request LykosAI#503 from ionite34/fix-update-appstart
Browse files Browse the repository at this point in the history
Fix StartApp with args on macos
  • Loading branch information
ionite34 authored Feb 6, 2024
2 parents 7995b90 + 2e4989c commit fb122d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion StabilityMatrix.Core/Processes/ProcessRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb122d9

Please sign in to comment.