This commit is contained in:
Pieds-Nus 2025-08-31 16:47:18 +00:00
parent 44e90fbefb
commit bcc66b501d

View File

@ -1,13 +1,17 @@
#!/bin/bash
#install rss-glx
#echo 2025-08-31T3000 >> $HOME/mcMilo
wget -o /tmp/Minecraft.deb https://launcher.mojang.com/download/Minecraft.deb &
update ; install default-jre default-jdk
sudo apt install /tmp/Minecraft.deb
user=Milo # Milo | Ayana
exec="/usr/libexec/xscreensaver/hyperspace"
exec="/usr/bin/minecraft-launcher"
test -x "$exec" || (
wget -O /tmp/Minecraft.deb https://launcher.mojang.com/download/Minecraft.deb &
dl="$!"
sudo aptitude update ; sudo aptitude upgrade -y
sudo aptitude install -y default-jre default-jdk
wait "$dl"
sudo apt install -y /tmp/Minecraft.deb
)
notify="notify-send"
limit="3600" # seconds / day
logfile="$HOME/mc$user"