Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

Commit

Permalink
A couple bugfixes...
Browse files Browse the repository at this point in the history
Remove the foreign games when uninstalling, and make sure the system boots back into the nand
  • Loading branch information
DanTheMan827 committed Nov 3, 2017
1 parent 528356b commit d0edad4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions multiboot_fixes.hmod/install
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down
13 changes: 12 additions & 1 deletion multiboot_fixes.hmod/uninstall
Original file line number Diff line number Diff line change
@@ -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
unset cfg_multiboot_hardware_id
cfg_firmware="_nand_"

0 comments on commit d0edad4

Please sign in to comment.