update readme
This commit is contained in:
@@ -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)`.
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user