🎨 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

@ -44,7 +44,7 @@
{ {
"Type": "NodeTextMark", "Type": "NodeTextMark",
"TextMarkType": "code", "TextMarkType": "code",
"TextMarkTextContent": "~/Documents/SiYuan/" "TextMarkTextContent": "~/SiYuan/"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",

View file

@ -56,7 +56,7 @@
"id": "" "id": ""
}, },
"TextMarkType": "code", "TextMarkType": "code",
"TextMarkTextContent": "~/Documents/SiYuan/" "TextMarkTextContent": "~/SiYuan/"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",

View file

@ -55,7 +55,7 @@
"id": "" "id": ""
}, },
"TextMarkType": "code", "TextMarkType": "code",
"TextMarkTextContent": "~/Documents/SiYuan/" "TextMarkTextContent": "~/SiYuan/"
}, },
{ {
"Type": "NodeText", "Type": "NodeText",

View file

@ -57,7 +57,7 @@ func Boot() {
initMime() initMime()
initHttpClient() 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") wdPath := flag.String("wd", WorkingDir, "working directory of SiYuan")
port := flag.String("port", "0", "port of the HTTP server") port := flag.String("port", "0", "port of the HTTP server")
readOnly := flag.String("readonly", "false", "read-only mode") readOnly := flag.String("readonly", "false", "read-only mode")