Skip to content

Commit

Permalink
macos: Make tray installation optional
Browse files Browse the repository at this point in the history
Now that we have 2 different packages for the tray and crc, we can make
the tray installation optional.

The tray is not installed by default. This matches the Windows
installer.

One corner case is:
1. Install crc with the tray
2. Upgrade to a new crc version but don't install the tray
-> the tray remains installed
  • Loading branch information
cfergeau authored and openshift-merge-robot committed Mar 15, 2023
1 parent 3c442ab commit ba0b846
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packaging/darwin/Distribution.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<welcome file="welcome.html" mime-type="text/html" />
<conclusion file="conclusion.html" mime-type="text/html" />
<license file="LICENSE.txt"/>
<options customize="never" allow-external-scripts="no"/>
<options customize="allow" allow-external-scripts="no"/>
<domains enable_localSystem="true" />
<options rootVolumeOnly="true"/>
<options hostArchitectures="x86_64,arm64" />
Expand Down Expand Up @@ -48,11 +48,11 @@ function installCheck() {
<line choice="crc"/>
<line choice="crc-tray"/>
</choices-outline>
<choice id="crc" title="crc">
<choice id="crc" title="Red Hat OpenShift Local" enabled="false" selected="true" visible="true">
<pkg-ref id="crc.pkg"/>
</choice>
<pkg-ref id="crc.pkg" auth="Root">crc.pkg</pkg-ref>
<choice id="crc-tray" title="crc-tray">
<choice id="crc-tray" title="System Tray for Red Hat OpenShift Local" enabled="true" selected="false" visible="true">
<pkg-ref id="crc-tray.pkg"/>
</choice>
<pkg-ref id="crc-tray.pkg" auth="Root">crc-tray.pkg</pkg-ref>
Expand Down

0 comments on commit ba0b846

Please sign in to comment.