mirror of
https://github.com/rubickCenter/rubick
synced 2025-07-30 05:39:52 +08:00
Compare commits
No commits in common. "47359308fc83347e59bca629c67fa3b66cbfd93b" and "42aec3403ab60e2a835f6012f057eddd94f6a7ed" have entirely different histories.
47359308fc
...
42aec3403a
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rubick",
|
||||
"version": "4.3.3",
|
||||
"version": "4.3.2",
|
||||
"author": "muwoo <2424880409@qq.com>",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -93,12 +93,6 @@ const registerHotKey = (mainWindow: BrowserWindow): void => {
|
||||
// mainWindow.show();
|
||||
});
|
||||
|
||||
globalShortcut.register('CommandOrControl+W', () => {
|
||||
if (mainWindow && !mainWindow.isDestroyed() && mainWindow.isFocused()) {
|
||||
mainWindow.hide();
|
||||
}
|
||||
});
|
||||
|
||||
// 注册自定义全局快捷键
|
||||
config.global.forEach((sc) => {
|
||||
if (!sc.key || !sc.value) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user