update readme

This commit is contained in:
zeffy
2017-10-06 23:19:20 -07:00
parent 28f2644311
commit 57bce4a663

View File

@@ -44,6 +44,14 @@ If you are interested, you can read my original write up on discovering the CPU
- Byte pattern-based patching, which means it will usually keep working even after new updates come out. - Byte pattern-based patching, which means it will usually keep working even after new updates come out.
- Absolutely zero dependencies. - Absolutely zero dependencies.
## How to use unattended setup feature in the batch script setup
`wufuc_setup.bat` supports three command line parameters, that can be combined to change the behavior of the script:
- `/NORESTART` - automatically declines rebooting after setup finishes.
- `/UNATTENDED` - skips all prompts for user interaction. **Beware: this will automatically restart your computer after setup is complete, unless combined with `/NORESTART`.**
- `/UNINSTALL` - skips the prompt that asks if you want to install or uninstall.
## How it works ## How it works
Basically, inside a system file called `wuaueng.dll` there are two functions responsible for the CPU check: `IsDeviceServiceable(void)` and `IsCPUSupported(void)`. Basically, inside a system file called `wuaueng.dll` there are two functions responsible for the CPU check: `IsDeviceServiceable(void)` and `IsCPUSupported(void)`.