Skip to content

Commit 1e86e82

Browse files
Create Classic.bat
1 parent effeee9 commit 1e86e82

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Switcher_Scripts/FR/Classic.bat

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@echo off
2+
chcp 65001 > nul
3+
4+
if exist "%userprofile%"\tss\classic\classicthemetray.exe (echo Le thème classique est déjà activé) else (ren "%userprofile%\tss\classic\classicthemetray_old.exe" classicthemetray.exe
5+
echo Le thème classique a été activé)
6+
7+
Set BT5=uxsms.exe
8+
tasklist | find /i "%BT5%">nul && (TASKKILL /f /im uxsms.exe) || goto :1
9+
:1
10+
if exist "%userprofile%"\tss\basic\uxsms.exe (ren "%userprofile%\tss\basic\uxsms.exe" uxsms_old.exe
11+
echo Le thème basic a été désactivé) else (echo Le thème basic est déjà désactivé)
12+
13+
start "" /D "%USERPROFILE%\TSS\classic" classicthemetray.exe /enable
14+
15+
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Windhawk\Engine\Mods\local@disable-dwm-extended-frames /v Disabled /f
16+
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Windhawk\Engine\Mods\local@disable-dwm-extended-frames /v Disabled /t REG_DWORD /d 0
17+
18+
:MSG
19+
echo Tâche terminée

0 commit comments

Comments
 (0)