Explorar o código

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

Daniel %!s(int64=2) %!d(string=hai) anos
pai
achega
e8ac568b3d

+ 1 - 1
app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100717-yzwzn64.sy

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

+ 1 - 1
app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200828105441-r76vmu5.sy

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

+ 1 - 1
app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226122358-hctqcn5.sy

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

+ 1 - 1
kernel/util/working.go

@@ -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")