mirror of
https://github.com/daimyomizukagebay61/SteamPanel.git
synced 2026-07-25 03:34:30 +00:00
updater + version
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
dbfbdad2cd28b47309b92ed2cb060478
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"validation": {
|
||||||
|
"fetch_profile": true,
|
||||||
|
"check_ban": true,
|
||||||
|
"max_threads": 5,
|
||||||
|
"auto_revalidate_browser": true,
|
||||||
|
"auto_proxy_on_import": true,
|
||||||
|
"auto_validate_on_import": true,
|
||||||
|
"auto_proxy_on_import_mafile": true,
|
||||||
|
"auto_proxy_on_import_logpass": true,
|
||||||
|
"auto_proxy_on_import_token": true,
|
||||||
|
"auto_validate_on_import_mafile": true,
|
||||||
|
"auto_validate_on_import_logpass": true,
|
||||||
|
"auto_validate_on_import_token": true
|
||||||
|
},
|
||||||
|
"display": {
|
||||||
|
"hide_passwords": false
|
||||||
|
},
|
||||||
|
"columns": {
|
||||||
|
"browser": true,
|
||||||
|
"profile": true,
|
||||||
|
"steam_id": true,
|
||||||
|
"login": true,
|
||||||
|
"password": true,
|
||||||
|
"login_pass": true,
|
||||||
|
"email": true,
|
||||||
|
"phone": true,
|
||||||
|
"status": true,
|
||||||
|
"ban": true,
|
||||||
|
"twofa": true,
|
||||||
|
"mafile": true,
|
||||||
|
"proxy": true,
|
||||||
|
"actions": true,
|
||||||
|
"last_online": true
|
||||||
|
},
|
||||||
|
"logpass_columns": {
|
||||||
|
"browser": true,
|
||||||
|
"profile": true,
|
||||||
|
"steam_id": true,
|
||||||
|
"login": true,
|
||||||
|
"password": true,
|
||||||
|
"login_pass": true,
|
||||||
|
"status": true,
|
||||||
|
"ban": true,
|
||||||
|
"prime": true,
|
||||||
|
"trophy": true,
|
||||||
|
"behavior": true,
|
||||||
|
"license": true,
|
||||||
|
"proxy": true,
|
||||||
|
"notes": true,
|
||||||
|
"actions": true
|
||||||
|
},
|
||||||
|
"token_columns": {
|
||||||
|
"browser": true,
|
||||||
|
"profile": true,
|
||||||
|
"last_online": true,
|
||||||
|
"steam_id": true,
|
||||||
|
"login": true,
|
||||||
|
"token": true,
|
||||||
|
"status": true,
|
||||||
|
"proxy": true,
|
||||||
|
"notes": true,
|
||||||
|
"actions": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -65,7 +65,11 @@ def rebuild_frontend():
|
|||||||
frontend = ROOT / "frontend"
|
frontend = ROOT / "frontend"
|
||||||
if not frontend.exists():
|
if not frontend.exists():
|
||||||
return
|
return
|
||||||
if subprocess.run(["npm", "--version"], capture_output=True).returncode != 0:
|
try:
|
||||||
|
node_ok = subprocess.run(["npm", "--version"], capture_output=True).returncode == 0
|
||||||
|
except FileNotFoundError:
|
||||||
|
node_ok = False
|
||||||
|
if not node_ok:
|
||||||
print("[!] Node.js not found — skipping frontend rebuild.")
|
print("[!] Node.js not found — skipping frontend rebuild.")
|
||||||
print(" If UI looks broken: cd frontend && npm install && npm run build")
|
print(" If UI looks broken: cd frontend && npm install && npm run build")
|
||||||
return
|
return
|
||||||
@@ -97,7 +101,11 @@ def download(url, dest):
|
|||||||
# ── git update path ───────────────────────────────────────────────────────────
|
# ── git update path ───────────────────────────────────────────────────────────
|
||||||
|
|
||||||
def update_via_git():
|
def update_via_git():
|
||||||
if subprocess.run(["git", "--version"], capture_output=True).returncode != 0:
|
try:
|
||||||
|
git_ok = subprocess.run(["git", "--version"], capture_output=True).returncode == 0
|
||||||
|
except FileNotFoundError:
|
||||||
|
git_ok = False
|
||||||
|
if not git_ok:
|
||||||
print("[!] git not found. Install Git from https://git-scm.com")
|
print("[!] git not found. Install Git from https://git-scm.com")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
VERSION = "0.3.6"
|
VERSION = "3.0.6"
|
||||||
|
|||||||
Reference in New Issue
Block a user