1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-09 20:11:48 +00:00
AIO-switch-updater/pack_release.sh
2020-10-11 21:08:32 +02:00

8 lines
No EOL
273 B
Bash
Executable file

#!/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/
ls -1 *.nro | xargs -L1 -I{} cp {} switch/aio-switch-updater/{}
zip -FSr aio-switch-updater.zip switch/