i broke linux

This commit is contained in:
smartfrigde 2022-01-16 21:39:04 +01:00
parent 9fbfc778cc
commit 6d2831d5c7

View file

@ -26,10 +26,10 @@ storage.has("settings", function (error, hasKey) {
if (!hasKey) { if (!hasKey) {
console.log("First run of the ArmCord. Starting setup."); console.log("First run of the ArmCord. Starting setup.");
setup(); setup();
contentPath = "content/setup.html"; contentPath = __dirname + "/content/setup.html";
} else { } else {
console.log("ArmCord has been run before. Skipping setup."); console.log("ArmCord has been run before. Skipping setup.");
contentPath = "content/splash.html"; contentPath = __dirname + "/content/splash.html";
} }
}); });
storage.get("settings", function (error, data: any) { storage.get("settings", function (error, data: any) {