mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve desktop boot interface
This commit is contained in:
parent
004f030119
commit
9aa8f05a33
1 changed files with 2 additions and 2 deletions
|
|
@ -398,9 +398,9 @@ const initKernel = (workspace, port, lang) => {
|
|||
icon: path.join(appDir, "stage", "icon-large.png"),
|
||||
});
|
||||
|
||||
let bootIndex = path.join(appDir, "app", "electron", "index.html");
|
||||
let bootIndex = path.join(appDir, "app", "electron", "boot.html");
|
||||
if (isDevEnv) {
|
||||
bootIndex = path.join(appDir, "electron", "index.html");
|
||||
bootIndex = path.join(appDir, "electron", "boot.html");
|
||||
}
|
||||
bootWindow.loadFile(bootIndex);
|
||||
bootWindow.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue