From 33ae759c57b98882d7554ca3342f02463f581ec4 Mon Sep 17 00:00:00 2001 From: Frederick Meisel Date: Thu, 22 Feb 2024 15:32:08 +0100 Subject: [PATCH] added git update tool --- main.lua | 3 ++- updater.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 updater.lua diff --git a/main.lua b/main.lua index c58d971..bca52b3 100644 --- a/main.lua +++ b/main.lua @@ -1 +1,2 @@ -dofile("PowerManager.lua") \ No newline at end of file +dofile("PowerManager/updater.lua;") +dofile("PowerManager/PowerManager.lua;") \ No newline at end of file diff --git a/updater.lua b/updater.lua new file mode 100644 index 0000000..8552338 --- /dev/null +++ b/updater.lua @@ -0,0 +1 @@ +os.execute("gitrepo seesberger/PowerManager /home/PowerManager") \ No newline at end of file