Created
November 20, 2019 22:08
-
-
Save HumanGamer/457f1718628edb02212fc21546c53c26 to your computer and use it in GitHub Desktop.
Configures WSL for pret
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb | |
dpkg -i devkitpro-pacman.deb | |
rm devkitpro-pacman.deb | |
dkp-pacman -Sy --noconfirm | |
dkp-pacman -S --noconfirm gba-dev | |
echo "export DEVKITPRO=/opt/devkitpro" >> /etc/environment | |
echo "export DEVKITARM=${DEVKITPRO}/devkitARM" >> /etc/environment | |
echo "export DEVKITPPC=${DEVKITPRO}/devkitPPC" >> /etc/environment | |
echo "export PATH=${DEVKITPRO}/tools/bin:$PATH" >> /etc/environment | |
apt update | |
apt -y install make | |
wget https://gist.githubusercontent.com/HumanGamer/31c387a4f6ce87c9b213edd8eae02be2/raw/c5ffce2b94c760959c93b20b25f54597c7bf1511/make-max | |
mv make-max /usr/bin/make-max | |
chmod +x /usr/bin/make-max |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment