-
-
Notifications
You must be signed in to change notification settings - Fork 1
simple mode guide
Cyber Official edited this page May 31, 2026
·
1 revision
Simple Mode is controlled by the SimpleMode boolean field in the Patch struct. When set to true, the applier's runSimpleMode() function provides a fully automated patching experience.
Current status: The SimpleMode field and runSimpleMode() function exist in the codebase, but no generator code path currently sets SimpleMode = true. The field is reserved for future use.
Distinction:
-
Simple Mode (
Patch.SimpleMode): Fully automated — runs dry-run validation then automatically applies the patch with verbose progress output -
Silent Mode (
--silentflag): Works with any self-contained executable, minimal output, designed for scripting and CI/CD
When Simple Mode is enabled in the patch data, the applier:
- Reads patch metadata from the embedded self-contained executable
- Uses current directory as target (no prompt)
- Automatically runs a dry-run validation (key file + required files)
- If validation passes, automatically applies the patch with verification and backup
- Logs all output to
<patchname>_<utctime>_log.txt - Exits with code 0 on success, 1 on failure
No menu, no prompts, no user interaction required.
All verification and backup features operate normally. Simple Mode only changes the UI — it does not disable any safety checks.