anchor.diff:  :: Purpose:       Tron's update checker, broken out from tron.bat as a function
   :: Requirements:  Must be called from Tron
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       1.0.4 * Wrap all references to %TEMP% in quotes to account for possibility of a user account with special characters in it (e.g. "&")
  -::                1.0.3 - Remove '--ca-certificate=stage_0_prep\check_update\bmrf.org.pem' declarative from wget calls, due to upgrading Tron's internal wget version to v1.18
  +:: Version:       1.0.3 - Remove '--ca-certificate=stage_0_prep\check_update\bmrf.org.pem' declarative from wget calls, due to upgrading Tron's internal wget version to v1.18
   ::                1.0.2 + Import REPO_URL, REPO_BTSYNC_KEY, REPO_SCRIPT_DATE and REPO_SCRIPT_VERSION variables from tron.bat since they're only relevant here
   ::                1.0.1 ! Fix SSL encryption on update check and new version download. Previously we were skipping certificate checking due to cert errors. With this fix we now properly use the bundled .pem certificate to establish an SSL connection to the repo
   ::                1.0.0 + Initial write
  
positive.code: 			echo.
  			pause
  			REM Clean up after ourselves
  			del /f /q "%USERPROFILE%\Desktop\Tron v%REPO_SCRIPT_VERSION% (%REPO_SCRIPT_DATE%).exe"
  			del /f /q "%TEMP%\sha256sums.txt"
  			exit /b 1
  		)
  
negative.code: stage_0_prep\check_update\wget.exe %REPO_URL%/sha256sums.txt -O "%TEMP%\sha256sums.txt" 2>NUL
  :: Assuming there was no error, go ahead and extract version number into REPO_SCRIPT_VERSION, and release date into REPO_SCRIPT_DATE
  if /i %ERRORLEVEL%==0 (
  	for /f "tokens=1,2,3 delims= " %%a in (%TEMP%\sha256sums.txt) do set WORKING=%%b
  	for /f "tokens=4 delims=,()" %%a in (%TEMP%\sha256sums.txt) do set WORKING2=%%a
  )
  if /i %ERRORLEVEL%==0 (
  	set REPO_SCRIPT_VERSION=%WORKING:~1,6%
  