Skip to content

Commit

Permalink
修复 自动识别TabletPC失败
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Apr 29, 2024
1 parent 6a9320b commit 9bbefbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions osc/themerec/themerec.bat
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ if exist "%SystemDrive%\Windows\Setup\zjsoftwenxiang.txt" (
)

if %osver% GEQ 2 (
for /f "tokens=3" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\Tablet PC" /v Devic
eKind') do if /i not "%%a"=="0x0" call :touch
for /f "tokens=3" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows\Tablet PC" /v DeviceKind') do if /i not "%%a"=="0x0" call :touch
)

:main
Expand Down

0 comments on commit 9bbefbb

Please sign in to comment.