-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS 11无法打开软件 #120
Labels
bug
Something isn't working
Comments
类似 #79 |
可以了 @tonquer , 这个打包的时候做好呢? 如果不能的话, 要不要PIN一个issue 😊 |
这个是macos限制的,没签名的软件是这样的,你从浏览器下载的话,他会修改你的文件,标识从浏览器下载的,打开就会提示文件损坏 |
我也经常打包dmg上传到github, 但是没有遇到过此类问题, 命令行不知道能不能对你提供帮助。 # 清理旧的
rm -rf appimage
# 创建要打包的文件夹
mkdir appimage
# 将Applications文件将链接到appimage内
ln -sf /Applications appimage/
# 同步文件
rsync -ax build/abc.app/ appimage/abc.app/
# 打包
hdiutil create -volname abc -srcfolder appimage -ov -format UDBZ abc-v1.1.1.dmg 会提示用户在安全选项内允许应用的运行 |
执行这个打包
测试了不会再出现已损坏提示。 |
可以把pin去掉,然后把这个关掉了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
操作系统
macOS Big Sur (11.6)
网络环境
无
问题描述
无法打开
复现步骤
拖到Applications文件夹并从Launcher中打开
日志提交
无日志
截图
The text was updated successfully, but these errors were encountered: