mirror of
https://github.com/kepler155c/opus
synced 2025-10-15 15:57:40 +00:00
bug fixes storage mgr
This commit is contained in:
@@ -91,13 +91,16 @@ function os.isPocket()
|
||||
end
|
||||
|
||||
function os.getVersion()
|
||||
local version
|
||||
|
||||
if _CC_VERSION then
|
||||
return tonumber(_CC_VERSION)
|
||||
version = tonumber(_CC_VERSION)
|
||||
end
|
||||
if _HOST then
|
||||
return tonumber(_HOST:gmatch('[%d]+%.?[%d][%d]', '%1')())
|
||||
version = tonumber(_HOST:gmatch('[%d]+%.?[%d][%d]', '%1')())
|
||||
end
|
||||
return 1.7
|
||||
|
||||
return version or 1.7
|
||||
end
|
||||
|
||||
function os.registerApp(entry)
|
||||
|
Reference in New Issue
Block a user