mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
#408 increment bootloader version for pocket configurator, minification
This commit is contained in:
parent
76f21e925b
commit
f112746e12
@ -1,15 +1,10 @@
|
|||||||
print("CONFIGURE> SCANNING FOR CONFIGURATOR...")
|
print("CONFIGURE> SCANNING FOR CONFIGURATOR...")
|
||||||
|
|
||||||
if fs.exists("reactor-plc/configure.lua") then
|
if fs.exists("reactor-plc/configure.lua") then require("reactor-plc.configure").configure()
|
||||||
require("reactor-plc.configure").configure()
|
elseif fs.exists("rtu/configure.lua") then require("rtu.configure").configure()
|
||||||
elseif fs.exists("rtu/configure.lua") then
|
elseif fs.exists("supervisor/configure.lua") then require("supervisor.configure").configure()
|
||||||
require("rtu.configure").configure()
|
elseif fs.exists("coordinator/configure.lua") then require("coordinator.configure").configure()
|
||||||
elseif fs.exists("supervisor/configure.lua") then
|
elseif fs.exists("pocket/configure.lua") then require("pocket.configure").configure()
|
||||||
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
|
else
|
||||||
print("CONFIGURE> NO CONFIGURATOR FOUND")
|
print("CONFIGURE> NO CONFIGURATOR FOUND")
|
||||||
print("CONFIGURE> EXIT")
|
print("CONFIGURE> EXIT")
|
||||||
|
@ -2,7 +2,7 @@ local util = require("scada-common.util")
|
|||||||
|
|
||||||
local println = util.println
|
local println = util.println
|
||||||
|
|
||||||
local BOOTLOADER_VERSION = "0.6"
|
local BOOTLOADER_VERSION = "1.0"
|
||||||
|
|
||||||
println("SCADA BOOTLOADER V" .. BOOTLOADER_VERSION)
|
println("SCADA BOOTLOADER V" .. BOOTLOADER_VERSION)
|
||||||
println("BOOT> SCANNING FOR APPLICATIONS...")
|
println("BOOT> SCANNING FOR APPLICATIONS...")
|
||||||
|
Loading…
Reference in New Issue
Block a user