Thorium-Win
Thorium-Win copied to clipboard
does THORIUM.BAT have an option to automatically select from Windows version?
does THORIUM.BAT
have an option to automatically select from a Windows version like this?
@ECHO OFF
for /f "tokens=4-5 delims=. " %%i in ('ver') do set VERSION=%%i.%%j
if "%version%" == "10.0" echo Windows 10+ & START "" "%cd%\thorium\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --allow-outdated-plugins --disable-logging --disable-breakpad --disable-encryption --disable-machine-id
if "%version%" == "6.2" echo Windows 8. & START "" "%cd%\thorium-legacy\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --allow-outdated-plugins --disable-logging --disable-breakpad --disable-encryption --disable-machine-id
if "%version%" == "6.1" echo Windows 7. & START "" "%cd%\thorium-legacy\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --allow-outdated-plugins --disable-logging --disable-breakpad --disable-encryption --disable-machine-id
https://stackoverflow.com/questions/13212033/get-windows-version-in-a-batch-file/13212116#13212116
The default contents of current THORIUM.BAT
:
START "" "%cd%\BIN\thorium.exe" --user-data-dir="%~dp0%\USER_DATA" --allow-outdated-plugins --disable-logging --disable-breakpad --disable-encryption --disable-machine-id
So no, it has no automatic detection.
Anyway, I'm not sure mixing user data between legacy and the newer one is safe or not. The Windows XP build is also quite different from the rest, especially the emoji font. Let the experts answers for that.