diff --git a/multiboot_fixes.hmod/install b/multiboot_fixes.hmod/install index 7ea7dc8..e6b5401 100644 --- a/multiboot_fixes.hmod/install +++ b/multiboot_fixes.hmod/install @@ -3,6 +3,8 @@ cfg_multiboot_region="$(cat "$mountpoint/etc/clover/REGION")" cfg_multiboot_hardware_id="$sftype-$sfregion" cfg_firmware="_nand_" +[ -f "$installpath/menu" ] && rm "$installpath/menu" + copy "$transferpath/etc/preinit.d/p7075_fix_clovercon" "$preinitpath/" copy "$transferpath/etc/preinit.d/p7075_gamesbind" "$preinitpath/" copy "$transferpath/etc/preinit.d/p7075_multiboot_fixes" "$preinitpath/" diff --git a/multiboot_fixes.hmod/uninstall b/multiboot_fixes.hmod/uninstall index 0cfe851..d0d01b7 100644 --- a/multiboot_fixes.hmod/uninstall +++ b/multiboot_fixes.hmod/uninstall @@ -1,3 +1,14 @@ +local realgamespath="$installpath/games/$sftype-$sfregion" + +[ -f "$installpath/menu" ] && rm "$installpath/menu" + +rm -rf "$rootfs/usr/share/games/" + +mv "$realgamespath" "$rootfs/usr/share/games" + +rm -r "$installpath/games/" + unset cfg_multiboot_boardtype unset cfg_multiboot_region -unset cfg_multiboot_hardware_id \ No newline at end of file +unset cfg_multiboot_hardware_id +cfg_firmware="_nand_"