mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Whoops
This commit is contained in:
parent
fbca68d8b5
commit
0c34328f43
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export function setup() {
|
|||
//I'm too lazy to replace every mf reference so :p
|
||||
export function getVersion() {
|
||||
//Checks if the version # has 4 sections (3.1.0.0) instead of 3 (3.1.0) / Shitty way to check if Kernel Mod is installed
|
||||
if ((('').split(app.getVersion()).length > 3) == true) {
|
||||
if (((app.getVersion()).split('.').length > 3) == true) {
|
||||
return app.getVersion().split('.')[0] + "." + app.getVersion().split('.')[1] + "." + app.getVersion().split('.')[2] + " [Kernel Mod]";
|
||||
} else {
|
||||
return app.getVersion();
|
||||
|
|
Loading…
Reference in a new issue