|
|
@ -93,10 +93,8 @@ REM Non admin on RDP shouldn't see updates notif |
|
|
|
IF %ADMIN% NEQ 1 IF NOT "%SESSIONNAME%" == "Console" goto :EOF |
|
|
|
IF %ADMIN% NEQ 1 IF NOT "%SESSIONNAME%" == "Console" goto :EOF |
|
|
|
|
|
|
|
|
|
|
|
REM Check if we can delay updates |
|
|
|
REM Check if we can delay updates |
|
|
|
REM Users can only delay for %MAX_REPORT% days while admins can always delay |
|
|
|
|
|
|
|
SET /A CAN_REPORT=0 |
|
|
|
SET /A CAN_REPORT=0 |
|
|
|
IF %NOW% LEQ %MAX% SET /A CAN_REPORT=1 |
|
|
|
IF %NOW% LEQ %MAX% SET /A CAN_REPORT=1 |
|
|
|
IF %ADMIN% EQU 1 SET /A CAN_REPORT=1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IF %CHANGES% LSS 1 ( |
|
|
|
IF %CHANGES% LSS 1 ( |
|
|
|
IF %ADMIN% EQU 1 ( |
|
|
|
IF %ADMIN% EQU 1 ( |
|
|
|