fix(release): prepare v0.2.3 and repair OAuth URL launching

- Replace cmd.exe URL launching with the official Tauri opener plugin
- Preserve OAuth query parameters on Windows
- Fix authorize_hydra_invalid_request during OAuth login
- Bump the application version to 0.2.3
- Update the bundled CLIProxyAPI core to 7.2.92
- Allow release builds when the Cargo manifest already matches the release version
This commit is contained in:
lzt404 committed 2026-07-21 02:00:23 +08:00
1 parent 930d83767d
commit a6fca2e918
7 files changed
+511 -46

No files matched your search

+4 -3
View File
@@ -144,10 +144,11 @@ jobs:
const cargoManifest = 'src-tauri/Cargo.toml';
const contents = readFileSync(cargoManifest, 'utf8');
const updated = contents.replace(/^version = "[^"]+"$/m, `version = "${version}"`);
if (updated === contents) {
throw new Error(`Could not update version in ${cargoManifest}`);
const versionPattern = /^version = "[^"]+"$/m;
if (!versionPattern.test(contents)) {
throw new Error(`Could not find version in ${cargoManifest}`);
}
const updated = contents.replace(versionPattern, `version = "${version}"`);
writeFileSync(cargoManifest, updated);
NODE