Skip to content

Commit

Permalink
Minor fix for Mac launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed Sep 2, 2024
1 parent cc5cd05 commit 179bd05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ jobs:
"${signArgs[@]}" "${customOptions[@]}" "${commonOptions[@]}"
if [ "$machine" = "macosx" ] ; then
cp -Rf "${{ env.RES }}/run.sh" "${{ env.WEASIS_OUTPUT }}/${{ env.NAME }}.app/Contents/MacOS/"
chmod 755 "${{ env.WEASIS_OUTPUT }}/${{ env.NAME }}.app/Contents/MacOS/run.sh"
codesign --timestamp --entitlements "${{ env.RES }}/uri-launcher.entitlements" --options runtime --force -vvv --keychain "$HOME/Library/Keychains/signing_temp.keychain-db" --sign "${{ secrets.MACOS__DEVELOPER_ID }}" "${{ env.WEASIS_OUTPUT }}/${{ env.NAME }}.app"
fi
Expand Down
2 changes: 0 additions & 2 deletions weasis-distributions/script/package-weasis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ $JPKGCMD --type app-image --input "$INPUT_DIR" --dest "$OUTPUT_PATH" --name "$NA
"${tmpArgs[@]}" --verbose "${signArgs[@]}" "${customOptions[@]}" "${commonOptions[@]}"

if [ "$machine" = "macosx" ] ; then
cp -Rf "$RES/run.sh" "$OUTPUT_PATH/$NAME.app/Contents/MacOS/"
chmod 755 "$OUTPUT_PATH/$NAME.app/Contents/MacOS/run.sh"
codesign --timestamp --entitlements "$RES/uri-launcher.entitlements" --options runtime --force -vvv --sign "$CERTIFICATE" "$RES/$NAME.app"
fi

Expand Down
6 changes: 3 additions & 3 deletions weasis-distributions/script/resources/macosx/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<plist version="1.0">
<dict>
<key>LSMinimumSystemVersion</key>
<string>10.13</string>
<string>10.13</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
<key>CFBundleExecutable</key>
<string>run.sh</string>
<string>DEPLOY_LAUNCHER_NAME</string>
<key>CFBundleIconFile</key>
<string>DEPLOY_ICON_FILE</string>
<key>CFBundleIdentifier</key>
Expand Down Expand Up @@ -37,7 +37,7 @@
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>NSMicrophoneUsageDescription</key>
<string>The application DEPLOY_LAUNCHER_NAME is requesting access to the microphone.</string>
<string>The application DEPLOY_LAUNCHER_NAME is requesting access to the microphone.</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand Down

0 comments on commit 179bd05

Please sign in to comment.