anchor.diff:  :: JOB: ProcessKiller
   title TRON v%SCRIPT_VERSION% [stage_0_prep] [ProcessKiller]
   call :log "%CUR_DATE% %TIME%    Launch Job 'ProcessKiller'..."
  -if /i %DRY_RUN%==no stage_0_prep\processkiller\ProcessKiller_v2.0.0-TRON.exe /silent
  +pushd stage_0_prep\processkiller
  +if /i %DRY_RUN%==no start "" /wait ProcessKiller.exe /silent
  +popd
   call :log "%CUR_DATE% %TIME%    Done."
   
   
  
positive.code: 	echo %CUR_DATE% %TIME%    !WIN_VER! detected, disabling system sleep on laptop lid close...>> "%LOGPATH%\%LOGFILE%"
  	echo %CUR_DATE% %TIME%    !WIN_VER! detected, disabling system sleep on laptop lid close...
  	REM Disable system sleep when laptop lid closes. Thanks to /u/ComputersByte for the suggestion
  	REM This line looks bonkers, but it's fairly straight-forward. There are three GUIDs and a setting, as follows:
  	REM	1st: Master GUID of the "High Performance" power scheme
  	REM	2nd: Subgroup GUID of the "Power buttons and lid" category
  	REM	3rd: Specific GUID for the "Lid close action" power setting
  
negative.code: 
  :: JOB: Remove resume-related files, registry entry, and boot flag
  title TRON v%SCRIPT_VERSION% [stage_7_wrap-up] [Remove resume files]
  call :log "%CUR_DATE% %TIME%    Removing resume-support files and Safeboot flag..."
  reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" >nul 2>&1
  del /f /q tron_flags.txt >nul 2>&1
  del /f /q tron_stage.txt >nul 2>&1
  bcdedit /deletevalue {current} safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
  bcdedit /deletevalue {default} safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
  bcdedit /deletevalue safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
  call :log "%CUR_DATE% %TIME%    Done."
  
  
  