mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:43:44 +08:00
chore: revert
This commit is contained in:
parent
d18b78c11c
commit
2f61dc9bc6
@ -24,16 +24,6 @@ impl Hotkey {
|
|||||||
*self.app_handle.lock() = Some(app_handle.clone());
|
*self.app_handle.lock() = Some(app_handle.clone());
|
||||||
let verge = Config::verge();
|
let verge = Config::verge();
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
|
||||||
{
|
|
||||||
log_err!(self.register("CMD+Q", "quit"));
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
|
||||||
{
|
|
||||||
log_err!(self.register("Control+Q", "quit"));
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(hotkeys) = verge.latest().hotkeys.as_ref() {
|
if let Some(hotkeys) = verge.latest().hotkeys.as_ref() {
|
||||||
for hotkey in hotkeys.iter() {
|
for hotkey in hotkeys.iter() {
|
||||||
let mut iter = hotkey.split(',');
|
let mut iter = hotkey.split(',');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user