This commit is contained in:
KayoticCarnige 2022-07-14 17:47:30 -04:00
parent fbca68d8b5
commit 0c34328f43

View file

@ -56,7 +56,7 @@ export function setup() {
//I'm too lazy to replace every mf reference so :p //I'm too lazy to replace every mf reference so :p
export function getVersion() { 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 //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]"; return app.getVersion().split('.')[0] + "." + app.getVersion().split('.')[1] + "." + app.getVersion().split('.')[2] + " [Kernel Mod]";
} else { } else {
return app.getVersion(); return app.getVersion();