This commit is contained in:
Daniel 2023-06-22 22:06:04 +08:00
parent ee69dc6742
commit bb5150c8d4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 20 additions and 2 deletions

View file

@ -402,7 +402,7 @@ const initKernel = (workspace, port, lang) => {
if (isDevEnv) {
bootIndex = path.join(appDir, "electron", "boot.html");
}
bootWindow.loadFile(bootIndex);
bootWindow.loadFile(bootIndex, {query: {v: appVer}});
bootWindow.show();
const kernelName = "win32" === process.platform ? "SiYuan-Kernel.exe" : "SiYuan-Kernel";