Skip to content

Commit

Permalink
Symlink Electron to resolve Gatekeeper issue with changing executable…
Browse files Browse the repository at this point in the history
… name in app bundle

See keybase/go-updater#4
  • Loading branch information
gabriel committed Apr 11, 2016
1 parent f57cf12 commit 5a7163f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packaging/desktop/package_darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ package_electron() {(
npm install
npm run package -- --appVersion="$app_version" --comment="$comment" --icon="$icon_path"
rsync -av release/darwin-x64/Keybase-darwin-x64 "$build_dir"

# Create symlink for Electron to overcome Gatekeeper bug https://github.com/keybase/go-updater/pull/4
cd "$out_dir/$app_name.app/Contents/MacOS"
ln -s "Keybase" "Electron"
)}

# Adds the keybase binaries and Installer.app bundle to Keybase.app
Expand Down

0 comments on commit 5a7163f

Please sign in to comment.