Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lake2 committed Nov 4, 2020
1 parent 3814645 commit 60159e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function createWindow() {

// 取消windows菜单
win.setMenu(null);
win.loadURL('https://www.wolai.com/');
win.loadURL('https://www.wolai.com/login');

win.once('ready-to-show', () => {
win.show();
Expand Down
5 changes: 5 additions & 0 deletions src/inject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ function enhance() {
$sidebar.css({ '-webkit-app-region': 'drag' });
$sidebar.children().css({ '-webkit-app-region': 'no-drag' });
}

const $headerbar = $('#wolai-header-bar');
if ($headerbar.length === 1) {
$headerbar.css({ '-webkit-app-region': 'no-drag' });
}
})();
}

Expand Down

0 comments on commit 60159e6

Please sign in to comment.