Compare commits

..

No commits in common. "47359308fc83347e59bca629c67fa3b66cbfd93b" and "42aec3403ab60e2a835f6012f057eddd94f6a7ed" have entirely different histories.

2 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "rubick", "name": "rubick",
"version": "4.3.3", "version": "4.3.2",
"author": "muwoo <2424880409@qq.com>", "author": "muwoo <2424880409@qq.com>",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@ -93,12 +93,6 @@ const registerHotKey = (mainWindow: BrowserWindow): void => {
// mainWindow.show(); // mainWindow.show();
}); });
globalShortcut.register('CommandOrControl+W', () => {
if (mainWindow && !mainWindow.isDestroyed() && mainWindow.isFocused()) {
mainWindow.hide();
}
});
// 注册自定义全局快捷键 // 注册自定义全局快捷键
config.global.forEach((sc) => { config.global.forEach((sc) => {
if (!sc.key || !sc.value) return; if (!sc.key || !sc.value) return;