updater + version

This commit is contained in:
Manchik
2026-05-15 17:52:56 +03:00
parent 96844e9aee
commit 22d29bfd41
8 changed files with 77 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
dbfbdad2cd28b47309b92ed2cb060478
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
+65
View File
@@ -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
}
}
+10 -2
View File
@@ -65,7 +65,11 @@ def rebuild_frontend():
frontend = ROOT / "frontend"
if not frontend.exists():
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(" If UI looks broken: cd frontend && npm install && npm run build")
return
@@ -97,7 +101,11 @@ def download(url, dest):
# ── git update path ───────────────────────────────────────────────────────────
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")
return
+1 -1
View File
@@ -1 +1 @@
VERSION = "0.3.6"
VERSION = "3.0.6"