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`.**
|
- `/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.
|
- `/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
|
## 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)`.
|
||||||
|
@@ -15,6 +15,10 @@ title wufuc installer
|
|||||||
:: You should have received a copy of the GNU General Public License
|
:: You should have received a copy of the GNU General Public License
|
||||||
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
:: 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 Copyright ^(C^) 2017 zeffy
|
||||||
echo This program comes with ABSOLUTELY NO WARRANTY.
|
echo This program comes with ABSOLUTELY NO WARRANTY.
|
||||||
echo This is free software, and you are welcome to redistribute it
|
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".
|
echo %~nx0 and select "Run as administrator".
|
||||||
goto :die
|
goto :die
|
||||||
)
|
)
|
||||||
call :set_uninstall 0
|
|
||||||
call :set_unattended 0
|
|
||||||
call :set_norestart 0
|
|
||||||
|
|
||||||
:loop_args
|
:loop_args
|
||||||
if [%1]==[] goto :check_requirements
|
if [%1]==[] goto :check_requirements
|
||||||
|
@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
|||||||
CONTRIBUTING.md = CONTRIBUTING.md
|
CONTRIBUTING.md = CONTRIBUTING.md
|
||||||
LICENSE = LICENSE
|
LICENSE = LICENSE
|
||||||
README.md = README.md
|
README.md = README.md
|
||||||
|
setup-batch\setup_wufuc.bat = setup-batch\setup_wufuc.bat
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
Reference in New Issue
Block a user