mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
parent
d4c914e003
commit
bb1c02125b
1 changed files with 9 additions and 1 deletions
10
.github/workflows/ci_macos.yaml
vendored
10
.github/workflows/ci_macos.yaml
vendored
|
@ -131,7 +131,15 @@ jobs:
|
||||||
pushd build
|
pushd build
|
||||||
PACKAGE_RETRY=0
|
PACKAGE_RETRY=0
|
||||||
while [ "$PACKAGE_RETRY" -lt "3" ]; do
|
while [ "$PACKAGE_RETRY" -lt "3" ]; do
|
||||||
macdeployqt "$appName.app" -dmg -no-strip
|
macdeployqt "$appName.app" -no-strip
|
||||||
|
# sign
|
||||||
|
xattr -cr "$appName.app"
|
||||||
|
codesign --force --sign - --options runtime \
|
||||||
|
"$appName.app/Contents/Frameworks"/* \
|
||||||
|
"$appName.app/Contents/MacOS/$appName" \
|
||||||
|
"$appName.app"
|
||||||
|
codesign --verify --deep --strict -v "$appName.app"
|
||||||
|
hdiutil create -fs HFS+ -srcfolder "$appName.app" -volname "$appName" "$appName.dmg"
|
||||||
if [ -f "$appName.dmg" ]; then
|
if [ -f "$appName.dmg" ]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue