This repository has been archived by the owner on Feb 18, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the foreign games when uninstalling, and make sure the system boots back into the nand
- Loading branch information
1 parent
528356b
commit d0edad4
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_" |