Skip to content

Commit

Permalink
DT-125 check if Rancher is Running and shut it down (#42)
Browse files Browse the repository at this point in the history
If Rancher Desktop is running and we try to update it a blank screen
will be displayed and we have to restart the GUI manually. In order to
avoid this we shutdown the application before we try to update it.
  • Loading branch information
DanielSotoEstrada authored Mar 22, 2023
1 parent 634aedf commit 998d8ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.17
0.1.18
2 changes: 1 addition & 1 deletion formula/ih-core.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class IhCore < Formula
VERSION="0.1.17"
VERSION="0.1.18"
desc "Brew formula for installing core tools used at Included Health engineering."
homepage "https://github.com/ConsultingMD/homebrew-ih-public"
license "CC BY-NC-ND 4.0"
Expand Down
4 changes: 3 additions & 1 deletion lib/core/rancher/step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ function ih::setup::core.rancher::install() {

cp "${THIS_DIR}/io.rancherdesktop.profile.defaults.plist" "$HOME/Library/Preferences/io.rancherdesktop.profile.defaults.plist"


if command -v rdctl; then
rdctl shutdown
fi

CASKSUCCEEDED=1
# Installation and configuration of Rancher Desktop
Expand Down

0 comments on commit 998d8ce

Please sign in to comment.