mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
code review
This commit is contained in:
parent
cdbf3027d2
commit
e1eb0c36af
1 changed files with 4 additions and 4 deletions
|
@ -154,13 +154,13 @@ class WindowManager {
|
|||
alwaysOnTop: true,
|
||||
focusable: true,
|
||||
skipTaskbar: true,
|
||||
|
||||
});
|
||||
win.setVisibleOnAllWorkspaces(true, {visibleOnFullScreen: true});
|
||||
win.loadURL('file://' + path.join(Util.appPath, 'dist', 'challenge', `index.html`));
|
||||
win.setMenu(null);
|
||||
|
||||
win.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true });
|
||||
win.loadURL('file://' + path.join(Util.appPath, 'dist', 'challenge', 'index.html'));
|
||||
win.setMenu(null);
|
||||
win.showInactive(); // show inactive to prevent focus loose from other app
|
||||
|
||||
win.webContents.once('did-finish-load', () => {
|
||||
win.webContents.postMessage('challenge', options);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue