1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-25 02:52:05 +00:00
AIO-switch-updater/pack_release.sh

10 lines
418 B
Bash
Raw Normal View History

2020-09-20 01:21:28 +01:00
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
rm -r switch/aio-switch-updater/
mkdir -p switch/aio-switch-updater/
2021-01-28 19:26:41 +00:00
cp aio-switch-updater.nro switch/aio-switch-updater/
VERSION=$(grep "APP_VERSION :=" Makefile | cut -d' ' -f4)
cp aiosu-forwarder/aiosu-forwarder.nro switch/aio-switch-updater/aio-switch-updater-v$VERSION.nro
2020-10-11 20:08:32 +01:00
zip -FSr aio-switch-updater.zip switch/