feat(agreement): show and record the WTOffline terms

Require explicit acceptance in the existing game dialog and retain the accepted version in the local account profile.

Verified full Quirrel compilation for .37 and .43, a temporary .43 build, and the launcher checks.
This commit is contained in:
N0VAN0M4LY committed 2026-11-30 10:44:42 +08:00
1 parent 223f1ef638
commit a0beedd898
28 files changed
+171 -2

No files matched your search

@@ -0,0 +1,36 @@
// Show the agreement whenever the account has yet to accept its current version.
{
"id": "agreement/require-explicit-acceptance",
"title": "Require explicit agreement acceptance",
"features": [
"A-Local accounts"
],
"variants": [
{
"written_for": "2.61.0.37",
"file": "scripts/login/loginpseudothreadsconfig.nut",
"edits": [
{
"find": "find-platform.nut",
"replace": "replace-platform.nut"
},
{
"find": "find-agreement-import.nut",
"replace": "replace-agreement-import.nut"
},
{
"find": "find-telemetry.nut",
"replace": "replace-telemetry.nut"
},
{
"find": "find-acceptance-import.nut",
"replace": "replace-acceptance-import.nut"
},
{
"find": "find-login.nut",
"replace": "replace-login.nut"
}
]
}
]
}