fix: 修复 macOS runtime 执行权限与架构包上传
- 在 pkgbuild 前将 Playwright Node、Chromium 及其他 Mach-O 文件统一设置为 0755,避免安装后普通用户启动服务时出现 permission denied。 - 将 macOS arm64 与 amd64 安装包分别上传为独立 Artifact,避免用户下载包含另一架构的无用文件。
This commit is contained in:
1 parent
b7444e8090
commit
80baba46ff
2 files changed
+23
-5
No files matched your search
@@ -294,9 +294,16 @@ jobs:
|
||||
packaging/macos/build-pkg.sh "$APP_VERSION" "$PWD/dist/macos" "$arch"
|
||||
done
|
||||
|
||||
- name: 上传 macOS 安装包
|
||||
- name: 上传 macOS arm64 安装包
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: ydisks-xianyu-helper-macos-${{ env.APP_VERSION }}
|
||||
path: dist/macos/Ydisks-Xianyu-Helper-${{ env.APP_VERSION }}-*.pkg
|
||||
name: ydisks-xianyu-helper-macos-arm64-${{ env.APP_VERSION }}
|
||||
path: dist/macos/Ydisks-Xianyu-Helper-${{ env.APP_VERSION }}-arm64.pkg
|
||||
if-no-files-found: error
|
||||
|
||||
- name: 上传 macOS amd64 安装包
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: ydisks-xianyu-helper-macos-amd64-${{ env.APP_VERSION }}
|
||||
path: dist/macos/Ydisks-Xianyu-Helper-${{ env.APP_VERSION }}-amd64.pkg
|
||||
if-no-files-found: error
|
||||
Reference in new issue
Block a user