MCPcopy
hub / github.com/ntfstool/ntfstool / openPages

Function openPages

src/main/lib/PageConfig.js:101–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101export function openPages() {
102 //shortcut to toggle debug window
103 globalShortcut.register('Option+L', () => {
104 let focusWin = BrowserWindow.getFocusedWindow()
105 focusWin && focusWin.toggleDevTools()
106 });
107
108 openHomePage();
109
110 openTrayPage();
111
112 monitorUsb();
113
114 setTimeout(function () {
115 openDialogPage("hide");
116 openSettingPage("hide");
117 openFeedBackPage("hide");
118 }, 3000)
119}
120
121export function goResume() {
122 setTimeout(function () {

Callers 1

index.jsFile · 0.90

Calls 6

openTrayPageFunction · 0.85
monitorUsbFunction · 0.85
openDialogPageFunction · 0.85
openHomePageFunction · 0.70
openSettingPageFunction · 0.70
openFeedBackPageFunction · 0.70

Tested by

no test coverage detected