Skip to content

Commit effeee9

Browse files
Create Basic.bat
1 parent c55e5b8 commit effeee9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Switcher_Scripts/FR/Basic.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 (ren "%userprofile%\tss\classic\classicthemetray.exe" classicthemetray_old.exe
5+
echo Le thème classique a été désactivé) else (echo Le thème classique est déjà désactivé)
6+
7+
start "" /D "%USERPROFILE%\TSS\classic" classicthemetray_old.exe /disable
8+
9+
if exist "%userprofile%"\tss\basic\uxsms.exe (goto :2) else (ren "%userprofile%\tss\basic\uxsms_old.exe" uxsms.exe
10+
echo Le thème basic a été activé)
11+
:2
12+
Set BT5=uxsms.exe
13+
tasklist | find /i "%BT5%">nul && echo Le thème basic est déjà activé || (start "" /D "%USERPROFILE%\TSS\Basic" uxsms.exe)
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)