refactor: streamline driver loading in main and startup scripts

This commit is contained in:
2025-06-14 12:39:46 -04:00
parent 2e257a7b1e
commit 5976b2c1c3
3 changed files with 4 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ local function addDriver(fileName)
local baseRoute = "https://git.astrocore.space/root/NovaCorpLLC/raw/branch/main/"
shell.execute("wget", baseRoute .. fullFile)
sleep(1)
return require(fileName)
end
return { addDriver = addDriver }