anchor.diff:  if exist libWiiSharp.dll` del  libWiiSharp.dll` /q 2> nul
   if exist Sharpii.exe` del Sharpii.exe` /q 2> nul
   
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/00000006-31.delta" -OutFile "00000006-31.delta"`"
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/00000006-80.delta" -OutFile "00000006-80.delta"`"
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/WadInstaller.dll" -OutFile "WadInstaller.dll"`"
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/libWiiSharp.dll" -OutFile "libWiiSharp.dll"`"
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/wget.exe" -OutFile "wget.exe"`"
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/xdelta3.exe" -OutFile "xdelta3.exe"`"
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/Sharpii.exe" -OutFile "Sharpii.exe"`"
  -powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/patch.bat" -OutFile "patch.bat"`"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/00000006-31.delta', '00000006-31.delta`')"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/00000006-80.delta', '00000006-80.delta`')"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/WadInstaller.dll', 'WadInstaller.dll`')"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/libWiiSharp.dll', 'libWiiSharp.dll`')"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/wget.exe', 'wget.exe`')"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/xdelta3.exe', 'xdelta3.exe`')"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/Sharpii.exe', 'Sharpii.exe`')"
  +powershell -command "(new-object System.Net.WebClient).DownloadFile('%FilesHostedOn%/patch.bat', 'patch.bat`')"
   
   if %update%==1 if not exist 00000006-31.delta` goto error_update_not_available
   if %update%==1 if not exist 00000006-80.delta` goto error_update_not_available
  
positive.code: if %offlinestorage%==0 if exist %TempStorage%\whatsnew.txt` del %TempStorage%\whatsnew.txt` /q
  
  if not exist %TempStorage% md %TempStorage%
  if %IOSPatcher_Update_Activate%==1 if %offlinestorage%==0 powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/whatsnew.txt" -OutFile "%TempStorage%\whatsnew.txt"`" >NUL || set /a versioncheck=0
  if %IOSPatcher_Update_Activate%==1 if %offlinestorage%==0 powershell -c `"Invoke-WebRequest -Uri "%FilesHostedOn%/version.txt" -OutFile "%TempStorage%\version.txt"`" >NUL || set /a versioncheck=0
  	set /a temperrorlev=%errorlevel%
  	::Bind error codes to errors here
  	if not %errorlevel%==0 goto error_update_not_available
  	
  
negative.code: set patchingok=1
  title IOS Patcher for RiiConnect24 v.%version%  Created by @Larsenv, @KcrPL
  set last_build=2017/08/07
  set at=01:39
  :: ### Auto Update ###
  set /a IOSPatcher_Update_Activate=1
  set /a whatsnew=1
  