* fix(macos): restore main window on application reopen (#148)

Handle macOS RunEvent::Reopen when no window is visible. Fixes #147.

* fix(version): update core version to 7.2.138

* fix(macos): persist OAuth credentials across DMG upgrades

Migrate app-bundle auth directories to Application Support before updating configuration and prevent future bundle-local OAuth storage.

Fixes #153

---------

Co-authored-by: Fake Trader <9635792+faketrader@users.noreply.github.com>
This commit is contained in:
lzt404andFake Trader authored and GitHub committed 2026-08-22 01:50:21 +08:00
1 parent ee4a37484e
commit c3f1c6e52c
6 files changed
+400 -1

No files matched your search

+5
View File
@@ -236,6 +236,11 @@ jobs:
bun tauri bundle --bundles app --ci --config src-tauri/tauri.dmg.conf.json
app_path="$bundle_dir/macos/EasyCLIProxyAPI.app"
resources_dir="$app_path/Contents/Resources"
test -d "$app_path"
test ! -e "$app_path/Contents/MacOS/oauth"
test ! -e "$resources_dir/oauth"
test -s "$resources_dir/core-version.txt"
rm -rf "$staging_dir"
mkdir -p "$staging_dir"