Skip to content

Instantly share code, notes, and snippets.

View Vixeliz's full-sized avatar
💚
Focusing on vinox right now.

Vixeliz Vixeliz

💚
Focusing on vinox right now.
View GitHub Profile
#!/bin/bash
# check if command line argument is empty or not present
if [ -z $1 ]; then
basensp=$(ls -S *.nsp | head -1)
updatensp=$(ls -Sr *.nsp | head -1)
else
basensp=$1
fi
#!/bin/sh
pkg update && pkg upgrade
pkg i bash cmake make vim clang git binutils
mkdir SwitchUpdatePatcher
cd SwitchUpdatePatcher
curl -o nsp_update_patcher.sh https://gist.githubusercontent.com/Vixeliz/eb2f038d59beafff14e49b56c14e469c/raw/a88f012227fb703e5b0a009d01a6f7670f5ba3e4/nsp_update_patcher.sh
chmod +x nsp_update_patcher.sh