Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
108
export
function
updateShortcut(shortcut: string): boolean {
109
return
windowManager.registerShortcut(shortcut)
110
}
111
112
/**
113
* 读取当前已经生效的全局唤起快捷键。
Callers
2
loadAndApplySettings
Method · 0.85
updateShortcut
Method · 0.85
Calls
1
registerShortcut
Method · 0.80
Tested by
no test coverage detected