mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 记录操作系统平台
This commit is contained in:
parent
235d940cad
commit
2a4fc32e50
3 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ func GetOSPlatform() (ret string) {
|
|||
ret, _, _, err := host.PlatformInformation()
|
||||
if nil != err {
|
||||
logging.LogWarnf("get os platform failed: %s", err)
|
||||
return
|
||||
return "Unknown"
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue