forked from FOSS/Steam-Panel
updater
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
dbfbdad2cd28b47309b92ed2cb060478
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,65 +0,0 @@
|
|||||||
{
|
|
||||||
"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,11 +65,7 @@ def rebuild_frontend():
|
|||||||
frontend = ROOT / "frontend"
|
frontend = ROOT / "frontend"
|
||||||
if not frontend.exists():
|
if not frontend.exists():
|
||||||
return
|
return
|
||||||
try:
|
if subprocess.run(["npm", "--version"], capture_output=True).returncode != 0:
|
||||||
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
|
||||||
@@ -101,11 +97,7 @@ def download(url, dest):
|
|||||||
# ── git update path ───────────────────────────────────────────────────────────
|
# ── git update path ───────────────────────────────────────────────────────────
|
||||||
|
|
||||||
def update_via_git():
|
def update_via_git():
|
||||||
try:
|
if subprocess.run(["git", "--version"], capture_output=True).returncode != 0:
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user