4
0
Эх сурвалжийг харах

fix(install): update branch name in updateOrCloneRepo function to main

Manuel 9 сар өмнө
parent
commit
1811b0dbe4
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      app.py
  2. 1 1
      install.sh

+ 1 - 1
app.py

@@ -5,9 +5,9 @@ import sys
 import threading
 from datetime import datetime, timedelta, timezone
 
+from apscheduler.schedulers.background import BackgroundScheduler
 from dotenv import load_dotenv
 from flask import Flask
-from apscheduler.schedulers.background import BackgroundScheduler
 from flask_apscheduler import APScheduler
 from flask_socketio import SocketIO
 

+ 1 - 1
install.sh

@@ -169,7 +169,7 @@ findInstallDir() {
 
 updateOrCloneRepo() {
     local repo_url="https://github.com/kaelthasmanu/SquidStats.git"
-    local branch="distro-install-support"
+    local branch="main"
     local env_exists=false
     local found_dir=""