mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-08 04:20:07 +02:00
🔧 Disable valet switching for next release (#34)
This commit is contained in:
@ -376,6 +376,7 @@ class MainMenu: NSObject, NSWindowDelegate, NSMenuDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
/* DISABLED UNTIL VALET SWITCHING IS OK (see #34)
|
||||
if Preferences.preferences[.useInternalSwitcher] as! Bool == false {
|
||||
// 1. Default switcher using Valet
|
||||
// Will cause less issues, but is slower
|
||||
@ -384,7 +385,7 @@ class MainMenu: NSObject, NSWindowDelegate, NSMenuDelegate {
|
||||
availableVersions: App.shared.availablePhpVersions,
|
||||
completed: completion
|
||||
)
|
||||
} else {
|
||||
} else { */
|
||||
// 2. Custom switcher (internal)
|
||||
// Will cause more issues with Homebrew and is faster
|
||||
Actions.switchToPhpVersion(
|
||||
@ -392,7 +393,7 @@ class MainMenu: NSObject, NSWindowDelegate, NSMenuDelegate {
|
||||
availableVersions: App.shared.availablePhpVersions,
|
||||
completed: completion
|
||||
)
|
||||
}
|
||||
/* } */
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -74,13 +74,14 @@ class PrefsVC: NSViewController {
|
||||
preference: .autoServiceRestartAfterExtensionToggle,
|
||||
action: {}
|
||||
),
|
||||
/* DISABLED UNTIL VALET SWITCHING IS OK (see #34)
|
||||
CheckboxPreferenceView.make(
|
||||
sectionText: "",
|
||||
descriptionText: "prefs.use_internal_switcher_desc".localized,
|
||||
checkboxText: "prefs.use_internal_switcher".localized,
|
||||
preference: .useInternalSwitcher,
|
||||
action: {}
|
||||
),
|
||||
), */
|
||||
HotkeyPreferenceView.make(
|
||||
sectionText: "prefs.global_shortcut".localized,
|
||||
descriptionText: "prefs.shortcut_desc".localized,
|
||||
|
Reference in New Issue
Block a user