Files
yenharvey b1835f5231 版本号:发版之间带 -dev(mac 0.1.2-dev、win 0.1.0-alpha.2-dev),本地与 CI 中间构建一眼能与线上包区分
- 发版提交去掉 -dev 再打标签,标签后只改 Cargo.toml 到下一个 -dev;-dev 版本没有标签与 Release,release.yml 两个 job 拒绝带 -dev 的版本
- bundle.sh:Info.plist 与 pkg 文件名保留完整版本,pkgbuild 与 distribution.xml 只认数字点号、用去掉后缀的 PKG_VERSION(已实际打包核对)
- Windows 设置程序的构建标识在工作区有改动时加 +,与 mac 一致
- 规矩写进 CLAUDE.md 与 docs/notes/release.md
2026-09-12 12:18:53 +08:00

26 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- productbuild 的安装流程描述;@VERSION@ / @PKG_VERSION@(去掉 -dev 这类后缀的数字版本,pkg-ref 只认数字点号)/ @ARCH@ 由 scripts/bundle.sh 的 pkg 模式替换 -->
<installer-gui-script minSpecVersion="2">
<title>青简输入法 @VERSION@</title>
<organization>app.qingjian</organization>
<!-- 装到 /Library/Input Methods(系统级,需要管理员密码):macOS 输入法的惯例位置,所有用户都能看到 -->
<domains enable_localSystem="true"/>
<options customize="never" require-scripts="true" rootVolumeOnly="true" hostArchitectures="@ARCH@"/>
<allowed-os-versions>
<os-version min="13.0"/>
</allowed-os-versions>
<welcome file="welcome.html" mime-type="text/html"/>
<license file="license.txt" mime-type="text/plain"/>
<conclusion file="conclusion.html" mime-type="text/html"/>
<choices-outline>
<line choice="default">
<line choice="app.qingjian.inputmethod"/>
</line>
</choices-outline>
<choice id="default"/>
<choice id="app.qingjian.inputmethod" visible="false">
<pkg-ref id="app.qingjian.inputmethod"/>
</choice>
<pkg-ref id="app.qingjian.inputmethod" version="@PKG_VERSION@" onConclusion="none">Qingjian-component.pkg</pkg-ref>
</installer-gui-script>