🎨 Set the default workspace path to ~/SiYuan/ on the desktop end https://github.com/siyuan-note/siyuan/issues/8602

This commit is contained in:
Daniel 2023-06-24 11:06:42 +08:00
parent 616fef6650
commit e8ac568b3d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ func Boot() {
initMime()
initHttpClient()
workspacePath := flag.String("workspace", "", "dir path of the workspace, default to ~/Documents/SiYuan/")
workspacePath := flag.String("workspace", "", "dir path of the workspace, default to ~/SiYuan/")
wdPath := flag.String("wd", WorkingDir, "working directory of SiYuan")
port := flag.String("port", "0", "port of the HTTP server")
readOnly := flag.String("readonly", "false", "read-only mode")