Skip to content

Commit

Permalink
DEBUG: try sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffie committed Dec 12, 2023
1 parent b332bc1 commit 3191dc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
building_on_os: macos-12
base_command: QT_VERSION=5.9.9 SIGN_IF_POSSIBLE=0 ARTIFACT_SUFFIX=_legacy ./.github/autobuild/mac.sh
# Enable CodeQL on mac legacy as this version does not get signed
run_codeql: false
run_codeql: true
# For Qt5 on Mac, we need to use an unsupported SDK version as macOS 12 doesn't
# support Xcode 12.1 which still ships SDK 10.15.
# https://developer.apple.com/support/xcode/
Expand Down
4 changes: 4 additions & 0 deletions mac/deploy_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ build_installer_image() {
--eula "${root_path}/COPYING" \
"${deploy_path}/${client_target_name}-${app_version}-installer-mac.dmg" \
"${deploy_path}/" >> debug-create-dmg
mkdir OUR_PATH
(echo '#!/bin/bash'; echo 'exec sudo hdiutil "$@"') >> OUR_PATH/hdiutil
chmod +x OUR_PATH/hdiutil
export PATH=OUR_PATH:$OUR_PATH
bash -x create-dmg \
--volname "${client_target_name} Installer" \
--hdiutil-verbose \
Expand Down

0 comments on commit 3191dc3

Please sign in to comment.