mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 18:32:49 +01:00
bug fix
This commit is contained in:
@@ -215,8 +215,8 @@ func GetUid(path string) int {
|
||||
}
|
||||
|
||||
func CheckBattery() int {
|
||||
if UI.FileExists(sysgo.Battery) == false {
|
||||
return
|
||||
if FileExists(sysgo.Battery) == false {
|
||||
return -1
|
||||
}
|
||||
batinfos,err := ReadLines(sysgo.Battery)
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user