Skip to content

Commit e0319b7

Browse files
committed
docs(release): 添加 macOS 安全提示说明
在 Release Notes 中添加 macOS 应用「已损坏」问题的解决方案, 说明如何使用 xattr 命令移除 quarantine 属性。 Closes #203
1 parent af11ed2 commit e0319b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,14 @@ jobs:
584584
- **Intel 芯片**: 下载 \`darwin-x64\` 版本
585585
- **安装程序**: 下载 \`.dmg\` 文件,双击挂载后拖拽到应用程序文件夹
586586
- **便携版**: 下载 \`.zip\` 文件,解压后运行 \`PromptOptimizer.app\`
587+
- ⚠️ **安全提示**: 如果打开应用时提示「已损坏」或「无法验证开发者」,请在终端执行以下命令后重试:
588+
\`\`\`bash
589+
xattr -rd com.apple.quarantine /Applications/PromptOptimizer.app
590+
\`\`\`
591+
或者对于 .dmg 文件:
592+
\`\`\`bash
593+
xattr -rd com.apple.quarantine ~/Downloads/PromptOptimizer-*.dmg
594+
\`\`\`
587595
- **Linux**:
588596
- **AppImage**: 下载 \`.AppImage\` 文件,添加执行权限后直接运行
589597
- **便携版**: 下载 \`.zip\` 文件,解压后运行 \`PromptOptimizer\`

0 commit comments

Comments
 (0)