mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-21 07:46:09 +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
134fd5e957
commit
713bbf9a43
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@
|
|||
const {dialog} = require('@electron/remote')
|
||||
const path = require('path')
|
||||
dialog.showOpenDialog({
|
||||
defaultPath: path.join(decodeURIComponent(getSearch('home')), 'Documents'),
|
||||
defaultPath: decodeURIComponent(getSearch('home')),
|
||||
properties: ['openDirectory', 'createDirectory'],
|
||||
}).then((result) => {
|
||||
if (result.canceled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue