diff --git a/lib/core/rancher/step.sh b/lib/core/rancher/step.sh index dbce8a5..bdf4482 100644 --- a/lib/core/rancher/step.sh +++ b/lib/core/rancher/step.sh @@ -49,7 +49,7 @@ function ih::setup::core.rancher::test() { return 1 fi - # Use vz instead of qemu on mac os 13.3 to resolve m3 mac issues. + # Use vz instead of qemu on macOS 13.3 to resolve m3 mac issues. # See: https://github.com/lima-vm/lima/issues/1996 # Also: https://github.com/rancher-sandbox/rancher-desktop/blob/fcffd3cc071a9414dcf03c895792b5142116ffd4/pkg/rancher-desktop/main/commandServer/settingsValidator.ts#L320-L330 local macos_version=$(ih::arch::get_macos_version) @@ -76,7 +76,7 @@ function ih::setup::core.rancher::install() { echo "A configuration file for Rancher Desktop will be copied to your system" echo "You may be required to enter your password" - sudo cp "${THIS_DIR}/io.rancherdesktop.profile.defaults.plist" "$HOME/Library/Preferences/io.rancherdesktop.profile.defaults.plist" + sudo cp "${THIS_DIR}/io.rancherdesktop.profile.defaults.plist" "$PLIST_DST" # Check if Rancher was installed manually brew list rancher >/dev/null 2>&1 @@ -133,7 +133,7 @@ function ih::setup::core.rancher::install() { fi fi - # Use vz instead of qemu on mac os 13.3 to resolve m3 mac issues. + # Use vz instead of qemu on macOS 13.3 to resolve m3 mac issues. local macos_version=$(ih::arch::get_macos_version) if (( $(echo "$macos_version >= 13.3" | bc -l) )); then if ! grep -q "vz" "$PLIST_DST"; then