From 1f80b683f217ef6e80e4fb8447cb27868ab4923e Mon Sep 17 00:00:00 2001 From: zontreck Date: Thu, 14 Mar 2024 18:46:36 -0700 Subject: [PATCH] Add a script to automatically build, and install ATLauncher --- Minecraft/setup_atlauncher | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 Minecraft/setup_atlauncher diff --git a/Minecraft/setup_atlauncher b/Minecraft/setup_atlauncher new file mode 100755 index 0000000..c0c36ff --- /dev/null +++ b/Minecraft/setup_atlauncher @@ -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