mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Data snapshot save device ID, name and OS https://github.com/siyuan-note/siyuan/issues/8094
This commit is contained in:
parent
9f9afdcfd0
commit
051ddf74ae
7 changed files with 26 additions and 5 deletions
|
|
@ -235,8 +235,12 @@ func InitConf() {
|
|||
if "" == Conf.System.ID {
|
||||
Conf.System.ID = util.GetDeviceID()
|
||||
}
|
||||
if "" == Conf.System.Name {
|
||||
Conf.System.Name = util.GetDeviceName()
|
||||
}
|
||||
if util.ContainerStd == util.Container {
|
||||
Conf.System.ID = util.GetDeviceID()
|
||||
Conf.System.Name = util.GetDeviceName()
|
||||
}
|
||||
|
||||
Conf.System.AppDir = util.WorkingDir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue