Skip to content

Commit 1251feb

Browse files
hoffiesoftins
authored andcommitted
Autobuild: Work around CodeQL-introduced create-dmg/hdiutil build failures
Fixes: #3207
1 parent 57a29b2 commit 1251feb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

mac/deploy_mac.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ build_installer_image() {
120120

121121
# Build installer image
122122

123-
create-dmg \
123+
# This gets rid of CodeQL's virally infecting dylib preloads which break hdiutil's helper
124+
# /System/Library/PrivateFrameworks/DiskImages.framework/Resources/diskimages-helper.
125+
sudo -u "$USER" create-dmg \
124126
--volname "${client_target_name} Installer" \
125127
--background "${resources_path}/installerbackground.png" \
126128
--window-pos 200 400 \

0 commit comments

Comments
 (0)