Add a script to automatically build, and install ATLauncher

This commit is contained in:
zontreck 2024-03-14 18:46:36 -07:00
parent e024b9b68f
commit 1f80b683f2

24
Minecraft/setup_atlauncher Executable file
View file

@ -0,0 +1,24 @@
#!/bin/bash
rm -rf ~/.atlauncher
mkdir ~/.atlauncher
mkdir ~/.atlauncher/bin
pushd ATLauncher
./gradlew build
pushd packaging/linux
chmod +x build.sh
sudo ./build.sh
pushd out
sudo dpkg -i ./atlauncher*.deb
popd
popd
USER=$(whoami)
sudo chown -Rv $USER:$USER packaging
popd