Fixed tlauncher not launching and added a warning at the README.md
This commit is contained in:
16
install.sh
16
install.sh
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
[[ "$(whoami)" = "root" ]] && echo "Script must be run as a normal user." && exit
|
||||
|
||||
@@ -11,13 +11,13 @@ END="\033[0m"
|
||||
## (They use java 8, but instead i'm installing the most recent java version).
|
||||
# Downloading packages
|
||||
pkgs=(
|
||||
wget
|
||||
jdk-openjdk
|
||||
jre-openjdk
|
||||
jre-openjdk-headless
|
||||
java-openjfx
|
||||
wget
|
||||
jdk-openjdk
|
||||
jre-openjdk
|
||||
jre-openjdk-headless
|
||||
java-openjfx
|
||||
)
|
||||
sudo pacman -S --noconfirm --needed "${pkgs[@]}"
|
||||
sudo pacman -Sy --noconfirm --needed "${pkgs[@]}"
|
||||
|
||||
# Downloading TLauncher
|
||||
echo -e "\n${GREEN}Downloading TLauncher...${END}"
|
||||
@@ -35,4 +35,4 @@ sudo mv src/tlauncher /usr/bin/
|
||||
sudo mv src/tlauncher.png /usr/share/icons
|
||||
sudo mv src/tlauncher.desktop /usr/share/applications
|
||||
|
||||
echo -e "\n${GREEN}Installation Complete!${END}"
|
||||
echo -e "\n${GREEN}Installation Complete!${END}"
|
||||
|
||||
Reference in New Issue
Block a user