Bugfixes
This commit is contained in:
parent
44e90fbefb
commit
bcc66b501d
18
mcTimer.sh
18
mcTimer.sh
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user