diff --git a/src/main.ts b/src/main.ts index 129dcec..e46374c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -26,10 +26,10 @@ storage.has("settings", function (error, hasKey) { if (!hasKey) { console.log("First run of the ArmCord. Starting setup."); setup(); - contentPath = "content/setup.html"; + contentPath = __dirname + "/content/setup.html"; } else { 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) {