update readme

This commit is contained in:
zeffy
2017-10-06 23:21:56 -07:00
parent 57bce4a663
commit c0b9aed8f9
3 changed files with 13 additions and 3 deletions

View File

@@ -52,6 +52,14 @@ If you are interested, you can read my original write up on discovering the CPU
- `/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.
These also change the default behavior of the script by changing these lines near the top of the script:
```bat
call :set_uninstall 0
call :set_unattended 0
call :set_norestart 0
```
## 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)`.

View File

@@ -15,6 +15,10 @@ title wufuc installer
:: You should have received a copy of the GNU General Public License
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
call :set_uninstall 0
call :set_unattended 0
call :set_norestart 0
echo Copyright ^(C^) 2017 zeffy
echo This program comes with ABSOLUTELY NO WARRANTY.
echo This is free software, and you are welcome to redistribute it
@@ -26,9 +30,6 @@ fltmc >nul 2>&1 || (
echo %~nx0 and select "Run as administrator".
goto :die
)
call :set_uninstall 0
call :set_unattended 0
call :set_norestart 0
:loop_args
if [%1]==[] goto :check_requirements

View File

@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
CONTRIBUTING.md = CONTRIBUTING.md
LICENSE = LICENSE
README.md = README.md
setup-batch\setup_wufuc.bat = setup-batch\setup_wufuc.bat
EndProjectSection
EndProject
Global