Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
当前源码已有 macOS 适配,但本地默认打包目标仍为 NSIS,设置中的客户端选择器只允许
.exe,客户端版本读取仍查询 Windows 注册表。本次改动完善 Intel Mac 的构建和使用流程,并解决本地 DMG 打包在 Finder 美化脚本阶段失败的问题。改动:
npm run tauri build生成 APP 和 DMG。.exe限制,支持将.app路径解析为内部可执行文件。Info.plist读取真实版本,保留读取失败时的现有回退值。npm run dist支持复制当前版本的 DMG,补齐中英文构建说明,同步锁文件根版本号。验证:
npm run dist(包含npm run tauri build)成功生成 APP 和 x64 DMG。cargo test --release --lib --locked --manifest-path src-tauri/Cargo.toml通过,覆盖.app、可执行文件、带引号输入和空输入。npm run check:i18n、Node 脚本语法检查、git diff --check均通过。state成功启动并自动识别已安装 ZCode;hdiutil verify校验通过。Windows 和 Apple 芯片 Mac 尚未完成本次改动的运行回归。账号数据格式和切换逻辑未改动,PR 不包含安装包、缓存或账号数据。