mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 11:42:14 -08:00
Fixing some syntax issues.
It was late, I was tired, this was the result.
This commit is contained in:
parent
12aa9f9c5b
commit
28cd147ca0
@ -624,9 +624,9 @@ class AssetGuard extends EventEmitter {
|
|||||||
const ret = {}
|
const ret = {}
|
||||||
let pts = verString.split('-')
|
let pts = verString.split('-')
|
||||||
ret.build = parseInt(pts[1].substring(1))
|
ret.build = parseInt(pts[1].substring(1))
|
||||||
pts = verString[0].split('_')
|
pts = pts[0].split('_')
|
||||||
ret.update = parseInt(pts[1])
|
ret.update = parseInt(pts[1])
|
||||||
ret.major = parseInt(pts[0].split['.'][1])
|
ret.major = parseInt(pts[0].split('.')[1])
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user