From c81f298a99ef6a18953f2ae722f605c9bfdade14 Mon Sep 17 00:00:00 2001 From: Reece Date: Tue, 18 Jan 2022 20:59:04 +0000 Subject: [PATCH] [*] Migrate more hardcoded paths --- Core/main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/main.lua b/Core/main.lua index 2f87415..a1657a3 100644 --- a/Core/main.lua +++ b/Core/main.lua @@ -74,8 +74,8 @@ local function addVisit(ina) local remoteLua = path .. "/Aurora.lua" local remoteJson = path .. "/Aurora.json" - local localJson = cwd .. "/Build_UserScripts/" .. args.name .. ".aurora.json" - local localLua = cwd .. "/Build_UserScripts/" .. args.name .. ".aurora.lua" + local localJson = cwd .. Aurora.Settings.sRelRepoScripts .. "/" .. args.name .. ".aurora.json" + local localLua = cwd .. Aurora.Settings.sRelRepoScripts .. "/" .. args.name .. ".aurora.lua" if (os.isfile(localLua)) then project.processor = auRequireAbs(localLua)(info) @@ -376,7 +376,7 @@ end local function addFeature(feature) --print("adding feature ", feature) - local script = auGetRoot() .. "/Build_Scripts/Features/" .. feature:lower() .. ".lua" + local script = Aurora.Settings.sAbsRoot .. Aurora.Settings.sRelScripts .. "/Features/" .. feature:lower() .. ".lua" if (not os.isfile(script)) then auFatal("missing feature", feature, script)