blob: e2d08ad9a32e3d9624bc153d3c5193e2b96d3b99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# ==============================================================================
# Hytale Launcher Wrapper for Arch Linux
#
# Author: [SCDevel/root@scdevel.net]
# License: MIT
# Description: Post-installation/updating/uninstallation script's for the Hytale Launcher.
#
# Disclaimer: This script is an unofficial community tool and is not
# affiliated with, endorsed by, or owned by Hypixel Studios Canada.
# ==============================================================================
: "${XDG_DATA_HOME:=/home/$USER/.local/share}"
post_install() {
echo ":: The Hytale Launcher has been installed."
echo " The binary will be copied to '${XDG_DATA_HOME}/hytale-launcher/bin/'"
echo " on the first run to allow for self-updating functionality."
echo ""
echo ":: IPV6 and System Clock Synchronization are required for Hytale."
echo " Ensure that your system is configured to use IPv6 and that the system clock is synchronized."
echo ""
echo ":: If you are using KDE Plasma and want to hide the titlebar:"
echo " Right-click the titlebar -> More Actions -> Configure Special Application Settings"
echo " Add property -> 'No titlebar and frame' -> Set to 'Force' and 'Yes'. APPLY!"
echo ""
echo ":: Legal Disclaimer:"
echo " This script is an unofficial community tool and is not"
echo " affiliated with, endorsed by, or owned by Hypixel Studios Canada."
}
post_upgrade() {
# Check if the user already has the old binary in their home
echo ":: Hytale Launcher has been updated in '/opt/hytale-launcher-bin'"
echo " Your local copy in '${XDG_DATA_HOME}/hytale-launcher/bin/'"
echo " will not be touched if the 'bin' directory exists."
}
post_remove() {
echo ":: The Hytale Launcher has been removed from your system."
echo " Note: The self-updated launcher located at:"
echo " '${XDG_DATA_HOME}/hytale-launcher/bin/'"
echo " and game data in:"
echo " '${XDG_DATA_HOME}/Hytale/'"
echo " were NOT removed. Delete these folders manually to free up space."
}
|