From 6457a5852ed86a6c7b77a189de51cce981ee5e20 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 11 Jun 2021 14:40:52 -0400 Subject: report version on startup --- main.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.lua b/main.lua index 58cc935..8d44b51 100644 --- a/main.lua +++ b/main.lua @@ -14,6 +14,12 @@ dofile("binaryLib.lua") dofile("microwire.lua") dofile("lmx2487lib.lua") +if file.exists("version.lua") then + dofile("version.lua") +else + print("Unknown version of lua scripts") +end + -- if you want benchmarking do -- dofile("bench_lmx2487.lua") -- cgit v1.2.3