mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve get os info for HarmonyOS
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
3abb5145c2
commit
923f9be756
1 changed files with 3 additions and 0 deletions
|
|
@ -25,5 +25,8 @@ func GetOSPlatform() (plat string) {
|
||||||
if ContainerAndroid == Container {
|
if ContainerAndroid == Container {
|
||||||
return "Android " + MobileOSVer
|
return "Android " + MobileOSVer
|
||||||
}
|
}
|
||||||
|
if ContainerHarmony == Container {
|
||||||
|
return "HarmonyOS " + MobileOSVer
|
||||||
|
}
|
||||||
return "Unknown " + MobileOSVer
|
return "Unknown " + MobileOSVer
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue