From: chaoskagami Date: Tue, 27 Sep 2016 04:59:43 +0000 (-0400) Subject: Update misc scripts X-Git-Tag: v0.3.0~7 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=e8a15850382b0319ae5f8bccfffab28aa448d641;p=corbenik%2Fcorbenik.git Update misc scripts --- diff --git a/host/copy.sh b/host/copy.sh index 23ee49a..780c534 100755 --- a/host/copy.sh +++ b/host/copy.sh @@ -7,9 +7,13 @@ mnt=/media dev=/dev/mmcblk0p mount -t vfat ${dev}1 $mnt || exit 0 +rm $mnt/arm9loaderhax{,_si}.bin rm -rf $mnt/corbenik cp -r out/* $mnt/ || exit 0 -( cd $mnt/ && ./n3ds_firm.sh ) -mv $mnt/arm9loaderhax{,_si}.bin +if [ "$1" = "n" ]; then + ( cd $mnt/ && ./n3ds_firm.sh ) +else + ( cd $mnt/ && ./o3ds_firm.sh ) +fi umount $mnt || exit 0 sync || exit 0