diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index dfa1ddb..0702883 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -121,11 +121,6 @@ echo. call modify-powersettings.cmd echo. -if %install_aerolite% == 1 ( - call modify-desktoptheme.cmd - echo. -) - call modify-taskbar.cmd echo. diff --git a/tools/logon.cmd b/tools/logon.cmd index 9b2d781..63bed46 100644 --- a/tools/logon.cmd +++ b/tools/logon.cmd @@ -25,6 +25,7 @@ set support_user= set support_password= set emclient_license=0 set seafile_domain=0 +set install_aerolite=0 echo ####### %0 ####### @@ -239,6 +240,12 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" ^ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" ^ /v "ShowFrequent" /t REG_DWORD /d 0 /f 1>nul +rem setting Aerolite theme... +if %install_aerolite% == 1 ( + call %TOOLS%\scripts\modify-desktoptheme.cmd + echo. +) + rem =============== rem ONLY FOR ADMINS rem ===============