mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-17 10:27:30 +08:00
🔧 chore: 移除不再使用的快捷键初始化功能
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import { isElectron } from '.';
|
||||
import { handleShortcutAction } from './appShortcuts';
|
||||
|
||||
export function initShortcut() {
|
||||
if (isElectron) {
|
||||
window.electron.ipcRenderer.on('global-shortcut', async (_, action: string) => {
|
||||
handleShortcutAction(action);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user