MCPcopy Index your code
hub / github.com/ZToolsCenter/ZTools / getLaunchAtLogin

Method getLaunchAtLogin

src/main/api/renderer/settings.ts:219–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217
218 // 获取开机启动状态
219 public getLaunchAtLogin(): boolean {
220 const settings = app.getLoginItemSettings()
221 return settings.openAtLogin
222 }
223
224 // 更新快捷键
225 public updateShortcut(shortcut: string): { success: boolean; error?: string } {

Callers 2

setupIPCMethod · 0.95
setupIPCMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected