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