diff --git a/src/utils.ts b/src/utils.ts index e1d37ed..759c1c9 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -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();