diff --git a/data_backup/.req_hash b/data_backup/.req_hash new file mode 100644 index 0000000..623a3b9 --- /dev/null +++ b/data_backup/.req_hash @@ -0,0 +1 @@ +dbfbdad2cd28b47309b92ed2cb060478 \ No newline at end of file diff --git a/data_backup/accounts.db b/data_backup/accounts.db new file mode 100644 index 0000000..e2c6dd2 Binary files /dev/null and b/data_backup/accounts.db differ diff --git a/data_backup/accounts.db-shm b/data_backup/accounts.db-shm new file mode 100644 index 0000000..2351f22 Binary files /dev/null and b/data_backup/accounts.db-shm differ diff --git a/data_backup/accounts.db-wal b/data_backup/accounts.db-wal new file mode 100644 index 0000000..53ebe71 Binary files /dev/null and b/data_backup/accounts.db-wal differ diff --git a/data_backup/panel.db b/data_backup/panel.db new file mode 100644 index 0000000..e69de29 diff --git a/data_backup/settings.json b/data_backup/settings.json new file mode 100644 index 0000000..3967828 --- /dev/null +++ b/data_backup/settings.json @@ -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 + } +} \ No newline at end of file diff --git a/update.py b/update.py index 0de806a..6151b03 100644 --- a/update.py +++ b/update.py @@ -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 diff --git a/version.py b/version.py index c9240ad..898d5a8 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -VERSION = "0.3.6" +VERSION = "3.0.6"