mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
f816d897c5
commit
71af3210ba
1 changed files with 4 additions and 0 deletions
|
|
@ -488,6 +488,10 @@ func NewLute() (ret *lute.Lute) {
|
|||
var confSaveLock = sync.Mutex{}
|
||||
|
||||
func (conf *AppConf) Save() {
|
||||
if util.ReadOnly {
|
||||
return
|
||||
}
|
||||
|
||||
confSaveLock.Lock()
|
||||
confSaveLock.Unlock()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue