Skip to content

Commit

Permalink
下放到win7
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Apr 29, 2024
1 parent c2579fb commit 3aadb05
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions osc/themerec/themerec.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ if exist "%SystemDrive%\Windows\Setup\zjsoftwenxiang.txt" (
call :touch
)

if %osver% GEQ 3 (
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
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
)


:main
if exist "%SystemDrive%\Windows\Setup\xrsysdark.txt" (
if exist "%SystemDrive%\Windows\Resources\Themes\dark.theme" (
Expand Down

0 comments on commit 3aadb05

Please sign in to comment.