MCPcopy Create free account
hub / github.com/chieapp/chie / serialize

Method serialize

src/controller/app.ts:42–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 serialize() {
43 const data: AppData = {notFirstTime: true};
44 if (!this.tray)
45 data.hideTrayIcon = true;
46 if (process.platform == 'darwin' && !this.isDockIconVisible())
47 data.hideDockIcon = true;
48 if (this.dashboarShortcut)
49 data.dashboarShortcut = this.dashboarShortcut;
50 return data;
51 }
52
53 hasDockOrTray() {
54 return this.isDockIconVisible() || this.tray || assistantManager.getAssistants().find(a => a.tray);

Callers

nothing calls this directly

Calls 1

isDockIconVisibleMethod · 0.95

Tested by

no test coverage detected