Skip to content

Commit

Permalink
new versiongit add .
Browse files Browse the repository at this point in the history
  • Loading branch information
gl91306 committed Aug 17, 2023
1 parent 3e3e897 commit feb573a
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 11 deletions.
19 changes: 13 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@ fi
sudo modprobe fuse

cd
#Download client
wget https://github.com/gl91306/lunar/raw/master/lunarclient-2.14.0-armv7l.AppImage
#Download client in parts
echo "downloading split files"
wget https://github.com/gl91306/lunar/raw/master/lunarclient-3.0.3-armv7l.AppImage.1
wget https://github.com/gl91306/lunar/raw/master/lunarclient-3.0.3-armv7l.AppImage.1
#Combine
echo "combining split files"
cat lunarclient-3.0.3-armv7l.AppImage.* > lunarclient-3.0.3-armv7l.AppImage
rm -rf lunarclient-3.0.3-armv7l.AppImage.*

mkdir lunarassets
cd lunarassets
cd
#Change perms of Launcher
sudo chmod +x $HOME/lunarclient-2.14.0-armv7l.AppImage
sudo chmod +x $HOME/lunarclient-3.0.3-armv7l.AppImage
#Add icon
cd
cd lunarassets
Expand All @@ -36,7 +42,7 @@ 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-2.14.0-armv7l.AppImage --no-sandbox
Exec=$HOME/lunarclient-3.0.3-armv7l.AppImage --no-sandbox
Icon=$HOME/lunarassets/lunarclient.png
Categories=Game;
Type=Application
Expand All @@ -45,10 +51,11 @@ 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-2.14.0-armv7l.AppImage --no-sandbox
Exec=$HOME/lunarclient-3.0.3-armv7l.AppImage --no-sandbox
Icon=$HOME/lunarassets/lunarclient.png
Categories=Game;
Type=Application
Terminal=false" > "$HOME/Desktop/Lunar Client"

$HOME/lunarclient-2.14.0-armv7l.AppImage
echo "Installation complete, running..."
$HOME/lunarclient-3.0.3-armv7l.AppImage
19 changes: 14 additions & 5 deletions install64.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@
#Made for Lunar Client for arm, a port by gl91306

cd
#Download client
wget https://github.com/gl91306/lunar/raw/master/lunarclient-2.14.0-arm64.AppImage
#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.1
#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-2.14.0-arm64.AppImage
sudo chmod +x $HOME/lunarclient-3.0.3-arm64.AppImage
#Add icon
cd
cd lunarassets
Expand All @@ -21,7 +27,7 @@ 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-2.14.0-arm64.AppImage --no-sandbox
Exec=$HOME/lunarclient-3.0.3-arm64.AppImage --no-sandbox
Icon=$HOME/lunarassets/lunarclient.png
Categories=Game;
Type=Application
Expand All @@ -30,8 +36,11 @@ 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-2.14.0-arm64.AppImage --no-sandbox
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
Binary file renamed lunarclient-2.14.0-armv7l.AppImage → lunarclient-3.0.3-arm64.AppImage.1
100755 → 100644
Binary file not shown.
Binary file added lunarclient-3.0.3-arm64.AppImage.2
Binary file not shown.
Binary file not shown.
Binary file added lunarclient-3.0.3-armv7l.AppImage.2
Binary file not shown.
2 changes: 2 additions & 0 deletions uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ rm -rf lunarclient-2.10.1-arm64.AppImage
rm -rf lunarclient-2.10.1-armv7l.AppImage
rm -rf lunarclient-2.14.0-arm64.AppImage
rm -rf lunarclient-2.14.0-armv7l.AppImage
rm -rf lunarclient-3.0.3-arm64.AppImage
rm -rf lunarclient-3.0.3-armv7l.AppImage
rm -rf '$HOME/lunarassets'
rm -rf "$HOME/.local/share/applications/Lunar-Client.desktop"

0 comments on commit feb573a

Please sign in to comment.