#408 increment bootloader version for pocket configurator, minification

This commit is contained in:
Mikayla Fischler 2024-02-19 14:27:02 -05:00
parent 76f21e925b
commit f112746e12
2 changed files with 6 additions and 11 deletions

View File

@ -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")

View File

@ -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...")