Skip to content

You no longer need to add this script to a Beta 11 download. I have uploaded Beta 12 which supports the 2.4 update and will take care of everything for you. Issue resolved. #333

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hey,

It seems early as 2.4 has just come out, so I didn't expect an update just 
yet, considering there is no official update for 2.3.1. However, for 
anyone wanting a patchstick for 2.4, please download the Beta 11 for 
Windows and use this batch script:

@ECHO OFF
ECHO Patchstick for 2.4
IF EXIST boot.efi goto EFIEXISTS
IF EXIST 2Z694-5660-029.dmg goto DMGEXISTS
ECHO.** Fetching Apple r2.4 update DMG
tools\wget\wget.exe http://mesu.apple.com/data/OS/061-
6242.20090624.Aq20P/2Z694-5660-029.dmg
IF errorlevel 1 GOTO ERROR
:DMGEXISTS
IF EXIST 2.hfs goto HFSEXISTS
tools\7-zip\7z.exe e 2Z694-5660-029.dmg 2.hfs
IF errorlevel 1 GOTO ERROR
:HFSEXISTS
IF EXIST boot.efi goto EFIEXISTS
tools\7-zip\7z.exe e 2.hfs OSBoot\System\Library\CoreServices\boot.efi
IF errorlevel 1 GOTO ERROR
:EFIEXISTS
IF EXIST SoftwareMenu.tar.gz goto SOFTWAREMENUEXISTS
tools\wget\wget.exe 
http://iscripts.googlecode.com/files/SoftwareMenu.tar.gz
IF errorlevel 1 GOTO ERROR
:SOFTWAREMENUEXISTS
IF EXIST atv-xbmc-ssh.img goto INJECT
tools\7-zip\7z.exe e atv-xbmc-ssh.7z
IF errorlevel 1 GOTO ERROR
:INJECT
tools\injector.exe --infile=boot.efi --baseseek=2437120 --basefile=atv-
xbmc-ssh.img
IF errorlevel 1 GOTO ERROR
:USBIMAGE_DOWNLOAD
IF EXIST usbit.zip goto USBIMAGE_UNZIP
ECHO.
ECHO.** Fetching USB Image Tool
ECHO.
tools\wget\wget.exe http://www.alexpage.de/download/usbit/usbit.zip
IF errorlevel 1 GOTO ERROR
:USBIMAGE_UNZIP
IF EXIST "USB Image Tool.exe" goto FINAL_INFO
tools\7-zip\7z.exe e usbit.zip
IF errorlevel 1 GOTO ERROR
GOTO FINAL_INFO
:ERROR
ECHO.**********************************************************************
ECHO.** Some sort of error has occured, aborting operation               **
GOTO COMPLETE

:FINAL_INFO
ECHO You're done, you should now restore this image to your PC
:COMPLETE

Original issue reported on code.google.com by Sam.Nazarko on 25 Jun 2009 at 4:42

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions