forked from RatherBeLunar/LRA-Community-Edition
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
version=2022.3.18 | ||
# Version | ||
|
||
sudo apt install apt-transport-https dirmngr gnupg ffmpeg mono-devel -y || exit 1 | ||
|
||
mkdir -p ~/LineRider | ||
cd ~/LineRider || error "Could not move to folder" | ||
|
||
#Download LRA-Community-Edition build from repo | ||
wget -O linerider.zip https://github.com/Sussy-OS/LRA-Community-Edition/releases/download/${version}/LineRider.game.auto-release.${version}-LR.zip || error "Could not download linerider" | ||
|
||
#Install | ||
unzip linerider.zip || error "Could not unzip the files" | ||
rm linerider.zip | ||
|
||
#Add system ffmpeg to expected location | ||
mkdir -p ~/Documents/LRA/ffmpeg/linux | ||
cp $(command -v ffmpeg) ~/Documents/LRA/ffmpeg/linux/ffmpeg | ||
|
||
#Menu shortcut | ||
echo "[Desktop Entry] | ||
Name=LineRider | ||
Comment=An Open Source spiritual successor to the flash game Line Rider | ||
Icon=$(dirname "$0")/icon-64.png | ||
Exec=mono $HOME/LineRider/linerider.exe | ||
Path=$HOME/LineRider/ | ||
Type=Application | ||
Terminal=false | ||
Categories=Game;" > ~/.local/share/applications/LineRider.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
purge_packages || exit 1 | ||
rm -rf ~/LineRider/ ~/.local/share/applications/LineRider.desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2022.3.17 | ||
2022.3.18 |