diff --git a/src/main.rs b/src/main.rs index 1f1ab60..5f68fc5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -158,6 +158,7 @@ async fn main() { banner.lines().for_each(|line| { appstate.output.push(line.to_string()); }); + let handles = Arc::new(Mutex::new(Vec::new())); let handles_clone = handles.clone(); let primary_handle = spawn(move || { diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..f0a322c --- /dev/null +++ b/update.sh @@ -0,0 +1,20 @@ +#!/bin/bash +current_version=$(cat ./version | grep version | cut -d " " -f 2) +path=$(cat ./version | grep path | cut -d " " -f 2) +version=$(curl https://git.pyro.monster/pyro/tetanus/releases/tag/latest | grep "