mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
c8055dbeee
commit
64b6001947
1 changed files with 2 additions and 0 deletions
|
|
@ -720,6 +720,8 @@ app.whenReady().then(() => {
|
|||
} else {
|
||||
win.center();
|
||||
}
|
||||
win.webContents.userAgent = "SiYuan/" + appVer + " https://b3log.org/siyuan Electron " + win.webContents.userAgent;
|
||||
win.webContents.session.setSpellCheckerLanguages(["en-US"]);
|
||||
win.loadURL(data.url);
|
||||
const targetScreen = screen.getDisplayNearestPoint(screen.getCursorScreenPoint());
|
||||
if (mainScreen.id !== targetScreen.id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue