mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 识别移动端平台版本
This commit is contained in:
parent
34483709ab
commit
8e1228f8b6
1 changed files with 3 additions and 3 deletions
|
|
@ -20,10 +20,10 @@ package util
|
|||
|
||||
func GetOSPlatform() (plat, ver string) {
|
||||
if ContainerIOS == Container {
|
||||
return "iOS", MobileOSVer
|
||||
return "iOS " + MobileOSVer
|
||||
}
|
||||
if ContainerAndroid == Container {
|
||||
return "Android", MobileOSVer
|
||||
return "Android " + MobileOSVer
|
||||
}
|
||||
return "Unknown", MobileOSVer
|
||||
return "Unknown " + MobileOSVer
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue