Skip to content

Commit

Permalink
#4567
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Jan 4, 2023
1 parent a99cb89 commit 910a600
Show file tree
Hide file tree
Showing 12 changed files with 400 additions and 388 deletions.
6 changes: 4 additions & 2 deletions app/electron/init.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,10 @@ <h2>SiYuan</h2>
if (!fs.existsSync(initPath)) {
fs.mkdirSync(initPath, {mode: 0o755, recursive: true})
}
const lang = document.querySelector('.lang').value
ipcRenderer.send('siyuan-first-init', `${initPath}-${lang}`)
ipcRenderer.send('siyuan-first-init', {
workspace: initPath,
lang: document.querySelector('.lang').value
})
}
})
})
Expand Down

0 comments on commit 910a600

Please sign in to comment.