anchor.diff:  if /i %RESUME_DETECTED%==yes (
   	:: Notify and jump
   	call :log "%CUR_DATE% %TIME% ! Incomplete run detected. Resuming at %RESUME_STAGE% using flags %RESUME_FLAGS%..."
  -	:: Reset the RunOnce flag in case we get interrupted again. Disabled for now, just to resume-looping where we keep trying to resume
  +	:: Reset the RunOnce flag in case we get interrupted again. Disabled for now, just to prevent resume-looping where we keep trying to resume
   	:: even if a reboot didn't happen
   	::reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" /t REG_SZ /d "%~dp0tron.bat %-resume" >NUL
   	goto %RESUME_STAGE%
  
positive.code: if /i %RESUME_DETECTED%==no echo. > "%LOGPATH%\%LOGFILE%"
  
  
  :: Add a RunOnce entry to relaunch Tron if it gets interrupted by a reboot. This is deleted at the end of the script if nothing went wrong
  reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" /t REG_SZ /d "%~dp0tron.bat %-resume" >nul 2>&1
  
  
  :: UPM detection circuit #2
  if /i %UNICORN_POWER_MODE%==on (color DF) else (color 0f)
  
  
  :: Create log header
  cls
  call :log "-------------------------------------------------------------------------------"
  call :log "%CUR_DATE% %TIME%   TRON v%SCRIPT_VERSION% (%SCRIPT_DATE%)"
  call :log "                          OS: %WIN_VER% (%PROCESSOR_ARCHITECTURE%)"
  call :log "                          Executing as %USERDOMAIN%\%USERNAME% on %COMPUTERNAME%
  call :log "                          Logfile: %LOGPATH%\%LOGFILE%"
  call :log "                          Command-line flags: %*"
  call :log "                          Safe Mode: %SAFE_MODE% %SAFEBOOT_OPTION%"
  call :log "                          Free space before Tron run: %FREE_SPACE_BEFORE% MB"
  call :log "-------------------------------------------------------------------------------"
  
  
  :::::::::::::::::::
  
negative.code: 		echo    Tron from the command-line with -dev flag.
  		echo.
  		echo    Keep in mind that by doing this you're effectively
  		echo    waiving your already non-existent warranty!
  		echo.
  		pause
  		goto eof
  