MCPcopy
hub / github.com/ZToolsCenter/ZTools / updateShortcut

Function updateShortcut

src/main/index.ts:108–110  ·  view source on GitHub ↗
(shortcut: string)

Source from the content-addressed store, hash-verified

106 * 更新主窗口使用的全局唤起快捷键。
107 */
108export function updateShortcut(shortcut: string): boolean {
109 return windowManager.registerShortcut(shortcut)
110}
111
112/**
113 * 读取当前已经生效的全局唤起快捷键。

Callers 2

loadAndApplySettingsMethod · 0.85
updateShortcutMethod · 0.85

Calls 1

registerShortcutMethod · 0.80

Tested by

no test coverage detected