2021-04-11 22:34:30 +02:00
|
|
|
@echo off
|
2023-08-13 12:43:07 +02:00
|
|
|
set TOOLS=%SystemDrive%\tools
|
2023-01-17 07:11:47 +01:00
|
|
|
|
|
|
|
set CONFIG=%TOOLS%\scripts\config
|
2023-02-20 09:24:42 +01:00
|
|
|
set THEMES=%windir%\Resources\Themes
|
2021-04-11 22:34:30 +02:00
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
2023-01-20 22:26:36 +01:00
|
|
|
isuseradmin
|
|
|
|
if %ERRORLEVEL% == 0 (
|
|
|
|
echo Copying AEROLITE theme ...
|
|
|
|
copy /Y %CONFIG%\aerolite.theme %THEMES%
|
|
|
|
)
|
2023-01-20 08:15:22 +01:00
|
|
|
|
|
|
|
echo Activating AEROLITE theme ...
|
2021-04-11 22:34:30 +02:00
|
|
|
powershell -command "Start-Process %THEMES%\aerolite.theme"
|
|
|
|
|
2023-01-22 21:18:28 +01:00
|
|
|
echo sleeping 5 seconds ...
|
|
|
|
ping 127.0.0.1 -n 5 > NUL 2>&1
|
2021-04-11 22:34:30 +02:00
|
|
|
|
|
|
|
taskkill /F /IM SystemSettings.exe 2>nul
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
2023-01-20 22:26:36 +01:00
|
|
|
|