mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 15:12:33 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
cf3a40e494
6 changed files with 53 additions and 32 deletions
|
|
@ -52,6 +52,11 @@ remote.initialize();
|
|||
app.setPath("userData", app.getPath("userData") + "-Electron"); // `~/.config` 下 Electron 相关文件夹名称改为 `SiYuan-Electron` https://github.com/siyuan-note/siyuan/issues/3349
|
||||
fs.rmSync(app.getPath("appData") + "/" + app.name, {recursive: true}); // 删除自动创建的应用目录 https://github.com/siyuan-note/siyuan/issues/13150
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
// Windows 需要设置 AppUserModelId 才能正确显示应用名称 https://github.com/siyuan-note/siyuan/issues/17022
|
||||
app.setAppUserModelId(app.name);
|
||||
}
|
||||
|
||||
if (!app.requestSingleInstanceLock()) {
|
||||
app.quit();
|
||||
return;
|
||||
|
|
|
|||
28
app/stage/protyle/js/lute/lute.min.js
vendored
28
app/stage/protyle/js/lute/lute.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue