-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstall64.sh
executable file
·46 lines (42 loc) · 1.4 KB
/
install64.sh
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
46
#!/bin/bash
#Script created by oxmc and gl91306
#Made for Lunar Client for arm, a port by gl91306
cd
#Download client in parts
echo "downloading split files"
wget https://github.com/gl91306/lunar/raw/master/lunarclient-3.0.3-arm64.AppImage.1
wget https://github.com/gl91306/lunar/raw/master/lunarclient-3.0.3-arm64.AppImage.2
#Combine
echo "combining split files"
cat lunarclient-3.0.3-arm64.AppImage.* > lunarclient-3.0.3-arm64.AppImage
rm -rf lunarclient-3.0.3-arm64.AppImage.*
cd
mkdir lunarassets
cd
#Change perms of Launcher
sudo chmod +x $HOME/lunarclient-3.0.3-arm64.AppImage
#Add icon
cd
cd lunarassets
wget https://github.com/gl91306/lunar/raw/master/lunarclient.png
cd
#Then make menu button & desktop icon
echo "Creating a desktop entry for Lunar-Client..."
echo "[Desktop Entry]
Name=Lunar Client
Comment=Lunar Client for Rpi made by PiKATchu on Discord.
Exec=$HOME/lunarclient-3.0.3-arm64.AppImage --no-sandbox
Icon=$HOME/lunarassets/lunarclient.png
Categories=Game;
Type=Application
Terminal=false" > "$HOME/.local/share/applications/Lunar-Client.desktop"
echo "[Desktop Entry]
Name=Lunar Client
Comment=Lunar Client for Rpi made by PiKATchu on Discord.
Exec=$HOME/lunarclient-3.0.3-arm64.AppImage --no-sandbox
Icon=$HOME/lunarassets/lunarclient.png
Categories=Game;
Type=Application
Terminal=false" > "$HOME/Desktop/Lunar Client"
echo "Installation complete, running..."
$HOME/lunarclient-3.0.3-arm64.AppImage