Skip to content

Commit

Permalink
增加 19041+启用硬件加速GPU调度
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Oct 16, 2024
1 parent 3d858d3 commit 73db056
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osc/optimize/start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ if %osver% GEQ 4 (
Reg.exe add "HKCU\Console\%%%%Startup" /v "DelegationConsole" /t REG_SZ /d "{2EACA947-7F5F-4CFA-BA87-8F7FBEEFBE69}" /f
Reg.exe add "HKCU\Console\%%%%Startup" /v "DelegationTerminal" /t REG_SZ /d "{E12CFF52-A866-4C77-9A90-F570A7AA2C6B}" /f
)
if !bigversion! GEQ 19041 (
echo 启用硬件加速GPU调度
reg add HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers /f /v HwSchMode /t REG_DWORD /d 2
)
if !bigversion! GEQ 22000 (
echo 处理Win11变小了的输入法候选项字体大小(大)
reg add HKCU\Software\Microsoft\InputMethod\CandidateWindow\CHS\1 /v FontStyleTSF3 /t REG_SZ /d "18.00pt;Regular;;Microsoft YaHei UI" /f
Expand Down

0 comments on commit 73db056

Please sign in to comment.