Compare commits

...

1 Commits

2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -29,12 +29,12 @@ function update_script() {
exit exit
fi fi
if check_for_gh_release "threadfin" "threadfin/threadfin"; then if check_for_gh_release "threadfin-app" "threadfin/threadfin"; then
msg_info "Stopping Service" msg_info "Stopping Service"
systemctl stop threadfin systemctl stop threadfin
msg_ok "Stopped Service" msg_ok "Stopped Service"
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64" fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
msg_info "Starting Service" msg_info "Starting Service"
systemctl start threadfin systemctl start threadfin
+1 -3
View File
@@ -20,9 +20,7 @@ $STD apt install -y \
vlc vlc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
fetch_and_deploy_gh_release "threadfin" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64" fetch_and_deploy_gh_release "threadfin-app" "threadfin/threadfin" "singlefile" "latest" "/opt/threadfin" "Threadfin_linux_amd64"
mv /root/.threadfin /root/.threadfin_version
mkdir -p /root/.threadfin
msg_info "Creating Service" msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/threadfin.service cat <<EOF >/etc/systemd/system/threadfin.service