mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
CI: Add code signing to fix app launch crash on macOS
This commit is contained in:
parent
1c33fefc6d
commit
54a4c6f814
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci_macos.yaml
vendored
5
.github/workflows/ci_macos.yaml
vendored
|
@ -131,7 +131,10 @@ jobs:
|
|||
pushd build
|
||||
PACKAGE_RETRY=0
|
||||
while [ "$PACKAGE_RETRY" -lt "3" ]; do
|
||||
macdeployqt "$appName.app" -dmg -no-strip
|
||||
macdeployqt "$appName.app" -no-strip
|
||||
xattr -cr "$appName.app"
|
||||
codesign --force --deep --sign - "$appName.app"
|
||||
hdiutil create -fs HFS+ -srcfolder "$appName.app" -volname "$appName" "$appName.dmg"
|
||||
if [ -f "$appName.dmg" ]; then
|
||||
break
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue