diff --git a/data_backup/.req_hash b/data_backup/.req_hash deleted file mode 100644 index 623a3b9..0000000 --- a/data_backup/.req_hash +++ /dev/null @@ -1 +0,0 @@ -dbfbdad2cd28b47309b92ed2cb060478 \ No newline at end of file diff --git a/data_backup/accounts.db b/data_backup/accounts.db deleted file mode 100644 index e2c6dd2..0000000 Binary files a/data_backup/accounts.db and /dev/null differ diff --git a/data_backup/accounts.db-shm b/data_backup/accounts.db-shm deleted file mode 100644 index 2351f22..0000000 Binary files a/data_backup/accounts.db-shm and /dev/null differ diff --git a/data_backup/accounts.db-wal b/data_backup/accounts.db-wal deleted file mode 100644 index 53ebe71..0000000 Binary files a/data_backup/accounts.db-wal and /dev/null differ diff --git a/data_backup/panel.db b/data_backup/panel.db deleted file mode 100644 index e69de29..0000000 diff --git a/data_backup/settings.json b/data_backup/settings.json deleted file mode 100644 index 3967828..0000000 --- a/data_backup/settings.json +++ /dev/null @@ -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 - } -} \ No newline at end of file diff --git a/update.py b/update.py index 6151b03..0de806a 100644 --- a/update.py +++ b/update.py @@ -65,11 +65,7 @@ def rebuild_frontend(): frontend = ROOT / "frontend" if not frontend.exists(): return - try: - node_ok = subprocess.run(["npm", "--version"], capture_output=True).returncode == 0 - except FileNotFoundError: - node_ok = False - if not node_ok: + if subprocess.run(["npm", "--version"], capture_output=True).returncode != 0: print("[!] Node.js not found — skipping frontend rebuild.") print(" If UI looks broken: cd frontend && npm install && npm run build") return @@ -101,11 +97,7 @@ def download(url, dest): # ── git update path ─────────────────────────────────────────────────────────── def update_via_git(): - try: - git_ok = subprocess.run(["git", "--version"], capture_output=True).returncode == 0 - except FileNotFoundError: - git_ok = False - if not git_ok: + if subprocess.run(["git", "--version"], capture_output=True).returncode != 0: print("[!] git not found. Install Git from https://git-scm.com") return