🎨 工作空间/conf/conf.json 文件读写不再加锁 Fix https://github.com/siyuan-note/siyuan/issues/5664
This commit is contained in:
parent
e2c861a3dd
commit
b467fc6698
2 changed files with 2 additions and 2 deletions
2
app/stage/protyle/js/lute/lute.min.js
vendored
2
app/stage/protyle/js/lute/lute.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -415,7 +415,7 @@ func (conf *AppConf) Save() {
|
|||
|
||||
func (conf *AppConf) save0(data []byte) {
|
||||
confPath := filepath.Join(util.ConfDir, "conf.json")
|
||||
if err := filelock.LockFileWrite(confPath, data); nil != err {
|
||||
if err := filelock.NoLockFileWrite(confPath, data); nil != err {
|
||||
logging.LogFatalf("write conf [%s] failed: %s", confPath, err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue