add auto thorium compat script

This commit is contained in:
Alexander David Frick 2022-05-09 10:43:53 -05:00 committed by GitHub
parent 2ed4084bb5
commit cc5c914bd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
misc/thor_compat_mode.bat Normal file
View file

@ -0,0 +1,11 @@
@echo off
echo:
echo Copyright (c) 2022 Alex313031
echo:
echo Automatically sets the compatibility mode for Thorium on Windows 10/11,
echo as a mitigation to the "Error code: RESULT_CODE_MISSING_DATA" bug.
echo _________________________________________________________________________
echo:
reg.exe Add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%LOCALAPPDATA%\Thorium\Application\chrome.exe" /d "~ WIN8RTM"
reg.exe Add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%LOCALAPPDATA%\Thorium\Application\chrome.exe" /d "~ WIN8RTM"