From bd5b5e1dbbb63159567597da8161662ec6badcbd Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Thu, 12 Jan 2023 18:23:03 +0100 Subject: [PATCH] aerolite theme should be activated for any user... --- scripts/autoconfig-all.cmd | 5 ----- tools/logon.cmd | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) 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 ===============