1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-12 21:26:40 +00:00
AIO-switch-updater/pack_release.sh
2020-10-07 02:08:39 +02:00

8 lines
No EOL
271 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 -r aio-switch-updater.zip switch/