Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2023-11-09 11:19:49 +08:00
commit 39ce5fb135
2 changed files with 2 additions and 1 deletions

View file

@ -539,7 +539,7 @@
await ipcRenderer.invoke("siyuan-init", {
languages: {{.trayMenuLangs}},
workspaceDir: '/Users/Vanessa/Work/SiYuan',
workspaceDir: '{{.workspaceDir}}',
port: location.port
});
ipcRenderer.send("siyuan-hotkey", {

View file

@ -351,6 +351,7 @@ func serveCheckAuth(c *gin.Context) {
"workspacePath": util.WorkspaceDir,
"keymapGeneralToggleWin": keymapHideWindow,
"trayMenuLangs": util.TrayMenuLangs[util.Lang],
"workspaceDir": util.WorkspaceDir,
}
buf := &bytes.Buffer{}
if err = tpl.Execute(buf, model); nil != err {