Add a script to automatically build, and install ATLauncher
This commit is contained in:
parent
e024b9b68f
commit
1f80b683f2
1 changed files with 24 additions and 0 deletions
24
Minecraft/setup_atlauncher
Executable file
24
Minecraft/setup_atlauncher
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue