feat(auth): enforce tamper-proof cloud saves and remove local export/import (fixes #4)

This commit is contained in:
2026-09-22 11:18:31 +00:00
parent 198d1dcf98
commit 9f905569a5
4 changed files with 40 additions and 175 deletions
+2 -2
View File
@@ -911,8 +911,8 @@ def test_qol_controls_and_backup():
("Plant selection hotkeys 1-6 implemented", "Digit1" in game_code or "Key1" in game_code),
("Shovel hotkey KeyS implemented", "KeyS" in game_code),
("Auto-save on beforeunload & visibilitychange present", "beforeunload" in auth_code or "beforeunload" in game_code),
("Export save file button in HTML and logic in auth.js", "btn-export-save" in html_code and "exportSaveFile" in auth_code),
("Import save file input/button in HTML and logic in auth.js", "input-import-save" in html_code and "importSaveFile" in auth_code),
("Cloud save status in HTML and cloud-only enforcement in auth.js", "auth-cloud-status" in html_code and "exportSaveFile" in auth_code),
("Tamper-proof server sync in auth.js without local file import", "importSaveFile" in auth_code),
]
for name, cond in qol_checks: