mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 11:28:49 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
39ce5fb135
2 changed files with 2 additions and 1 deletions
|
|
@ -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", {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue