From 0c34328f437e8087ac2ebdaf953824ec03d2c9a1 Mon Sep 17 00:00:00 2001 From: KayoticCarnige <32397453+kckarnige@users.noreply.github.com> Date: Thu, 14 Jul 2022 17:47:30 -0400 Subject: [PATCH] Whoops --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();