mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Set the default workspace path to ~/SiYuan/ on the desktop end https://github.com/siyuan-note/siyuan/issues/8602
This commit is contained in:
parent
616fef6650
commit
e8ac568b3d
4 changed files with 4 additions and 4 deletions
|
|
@ -44,7 +44,7 @@
|
|||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "~/Documents/SiYuan/"
|
||||
"TextMarkTextContent": "~/SiYuan/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "~/Documents/SiYuan/"
|
||||
"TextMarkTextContent": "~/SiYuan/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "~/Documents/SiYuan/"
|
||||
"TextMarkTextContent": "~/SiYuan/"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue