-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #579 from MikaylaFischler/devel
2024.11.21 Release
- Loading branch information
Showing
36 changed files
with
894 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
print("CONFIGURE> SCANNING FOR CONFIGURATOR...") | ||
|
||
if fs.exists("reactor-plc/configure.lua") then require("reactor-plc.configure").configure() | ||
elseif fs.exists("rtu/configure.lua") then require("rtu.configure").configure() | ||
elseif fs.exists("supervisor/configure.lua") then require("supervisor.configure").configure() | ||
elseif fs.exists("coordinator/configure.lua") then require("coordinator.configure").configure() | ||
elseif fs.exists("pocket/configure.lua") then require("pocket.configure").configure() | ||
else | ||
print("CONFIGURE> NO CONFIGURATOR FOUND") | ||
print("CONFIGURE> EXIT") | ||
for _, app in ipairs({ "reactor-plc", "rtu", "supervisor", "coordinator", "pocket" }) do | ||
if fs.exists(app .. "/configure.lua") then | ||
local _, _, launch = require(app .. ".configure").configure() | ||
if launch then shell.execute("/startup") end | ||
return | ||
end | ||
end | ||
|
||
print("CONFIGURE> NO CONFIGURATOR FOUND") | ||
print("CONFIGURE> EXIT") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.