freemyipod r692 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r691‎ | r692 | r693 >
Date:01:06, 6 April 2011
Author:theseven
Status:new
Tags:
Comment:
Installers: Remove /.boot/init.emcoreapp during updates, to avoid trouble with incompatible API versions
Modified paths:
  • /apps/installer-ipodclassic/main.c (modified) (history)
  • /apps/installer-ipodnano2g/main.c (modified) (history)

Diff [purge]

Index: apps/installer-ipodclassic/main.c
@@ -344,6 +344,7 @@
345345 backlight_set_brightness(177);
346346 backlight_on(true);
347347
 348+ remove("/.boot/init.emcoreapp");
348349 int cost;
349350 if (updating)
350351 {
Index: apps/installer-ipodnano2g/main.c
@@ -848,6 +848,7 @@
849849 backlight_on(true);
850850
851851 disk_mount(0);
 852+ remove("/.boot/init.emcoreapp");
852853 int updating = !(appleflash || rc);
853854 int cost;
854855 if (updating)