## Main Kit ##
* Updated several tool versions
* Various bugfixes
* _(Including another fixed set-eol.ps1 call)_
## Windows PE ##
* Fixed using local Windows sources
* Various bugfixes
## Linux ##
* New build script
* Better package handling
* Packages split into build dependencies, aur, and live
* Isolinux/pxelinux/syslinux/refind setup during build process
* main.py settings has replaced arch.conf and wifi.conf
* Hardware diagnostic scripts
* All scripts rewritten in Python
* Prime95
* Added ablity to abort test without cancelling other tests
* The tempuratures are saved from the end of the test
* NVMe/SMART
* New NVMe tests since SMART support is limited for NVMe devices
* Progress is displayed for SMART self-tests
* The script waits on the self-test for the polling-time + 5min
* Unless it detects completion after 60 seconds
* badblocks
* Optionally run when the device health is unknown
* These overrides are done per-device
* Results screen
* Final temps from Prime95 tests displayed
* Tempurature sensors rewritten
* Rewritten in python
* Report CoreTemps first then others (CPU temps)
* Wrap into two columns as necessary (if the window is big enough)
61 lines
1.4 KiB
Batchfile
61 lines
1.4 KiB
Batchfile
:: Wizard Kit: Build Tool Launcher ::
|
|
|
|
@echo off
|
|
|
|
:Init
|
|
setlocal
|
|
title Wizard Kit: Build Tool
|
|
call :CheckFlags %*
|
|
|
|
:PrepNewKit
|
|
rem Copy base files to a new folder OUT_KIT
|
|
robocopy /e .bin OUT_KIT\.bin
|
|
robocopy /e .cbin OUT_KIT\.cbin
|
|
copy LICENSE.txt OUT_KIT\LICENSE.txt
|
|
copy README.md OUT_KIT\README.md
|
|
copy Images\ConEmu.png OUT_KIT\.bin\ConEmu\
|
|
mkdir OUT_KIT\.cbin >nul 2>&1
|
|
attrib +h OUT_KIT\.bin >nul 2>&1
|
|
attrib +h OUT_KIT\.cbin >nul 2>&1
|
|
|
|
:EnsureCRLF
|
|
rem Rewrite main.py using PowerShell to have CRLF/`r`n lineendings
|
|
set "script=OUT_KIT\.bin\Scripts\borrowed\set-eol.ps1"
|
|
set "main=OUT_KIT\.bin\Scripts\settings\main.py"
|
|
powershell -executionpolicy bypass -noprofile -file %script% -lineEnding win -file %main% || goto ErrorUnknown
|
|
|
|
:Launch
|
|
set "script=OUT_KIT\.bin\Scripts\build_kit.ps1"
|
|
powershell -executionpolicy bypass -noprofile -file %script% || goto ErrorUnknown
|
|
goto Exit
|
|
|
|
:: Functions ::
|
|
:CheckFlags
|
|
rem Loops through all arguments to check for accepted flags
|
|
set DEBUG=
|
|
for %%f in (%*) do (
|
|
if /i "%%f" == "/DEBUG" (@echo on & set "DEBUG=/DEBUG")
|
|
)
|
|
@exit /b 0
|
|
|
|
:: Errors ::
|
|
:ErrorUnknown
|
|
echo.
|
|
echo ERROR: Encountered an unknown error.
|
|
goto Abort
|
|
|
|
:Abort
|
|
color 4e
|
|
echo Aborted.
|
|
echo.
|
|
echo Press any key to exit...
|
|
pause>nul
|
|
color
|
|
rem Set errorlevel to 1 by calling color incorrectly
|
|
color 00
|
|
goto Exit
|
|
|
|
:: Cleanup and exit ::
|
|
:Exit
|
|
endlocal
|
|
exit /b %errorlevel%
|