Skip to content

Commit

Permalink
macos: pkg: Install tray in 'Red Hat OpenShift Local.app'
Browse files Browse the repository at this point in the history
Now that the crc binaries are installed in /usr/local/bin, we can
put back the tray files in 'Red Hat OpenShift Local.app' rather than in
a separate 'Red Hat OpenShift Local Tray.app' directory.
  • Loading branch information
cfergeau authored and openshift-merge-robot committed Mar 15, 2023
1 parent e2669fc commit 3c442ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ packagedir: clean embed-download-darwin macos-universal-binary
# crc-tray.pkg
tar -C $(EMBED_DOWNLOAD_DIR) -xvzf $(EMBED_DOWNLOAD_DIR)/$(TRAY_TARBALL)
rm $(EMBED_DOWNLOAD_DIR)/$(TRAY_TARBALL)
mv $(EMBED_DOWNLOAD_DIR)/crc-tray-darwin-universal/crc-tray.app packaging/darwin/root-crc-tray/Applications/Red\ Hat\ OpenShift\ Local\ Tray.app
mv $(EMBED_DOWNLOAD_DIR)/crc-tray-darwin-universal/crc-tray.app packaging/darwin/root-crc-tray/Applications/Red\ Hat\ OpenShift\ Local.app
rm -fr $(EMBED_DOWNLOAD_DIR)/crc-tray-darwin-universal

# crc.pkg
Expand Down
2 changes: 1 addition & 1 deletion packaging/darwin/macos-pkg-build-and-sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ sign "${crcBinDir}/crc"
sign "${crcBinDir}/crc-admin-helper-darwin"
sign "${crcBinDir}/vfkit"

signAppBundle "${trayRootDir}/Applications/Red Hat OpenShift Local Tray.app"
signAppBundle "${trayRootDir}/Applications/Red Hat OpenShift Local.app"

sudo chmod +sx "${crcBinDir}/crc-admin-helper-darwin"

Expand Down

0 comments on commit 3c442ab

Please sign in to comment.