anchor.diff:  if %update%==1 if exist Sharpii.exe del Sharpii.exe /q
   if %update%==1 if exist libWiiSharp.dll del libWiiSharp.dll /q
   
  -
   ren 00000006-31.delta` 00000006-31.delta
   ren 00000006-80.delta` 00000006-80.delta
   ren WadInstaller.dll` WadInstaller.dll
  
positive.code: set patchingok=1
  title IOS Patcher for RiiConnect24 v.%version%  Created by @Larsenv, @KcrPL
  set last_build=2017/08/07
  set at=00:40
  :: ### Auto Update ###
  set /a IOSPatcher_Update_Activate=1
  set /a whatsnew=1
  
negative.code: if exist libWiiSharp.dll` del  libWiiSharp.dll` /q 2> nul
  if exist Sharpii.exe` del Sharpii.exe` /q 2> nul
  
  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
  