Skip to content

Commit

Permalink
Add Linux install/uninstall stuff.
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan McQuen <[email protected]>
  • Loading branch information
ryanpcmcquen committed May 12, 2020
1 parent 5497ba1 commit bde77ec
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 3 deletions.
Binary file removed basque.exe
Binary file not shown.
8 changes: 5 additions & 3 deletions linux/basque.desktop
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=basque
Exec=basque
Icon=basque
Name=Basque
Exec=basque_launch
Icon=basque_logo
Type=Application
Categories=Game;
Terminal=false
12 changes: 12 additions & 0 deletions linux/basque_install
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
TITLE=basque

cp ${TITLE}.desktop ${HOME}/.local/share/applications/
cp ${TITLE}_logo.png ${HOME}/.local/share/icons/

mkdir -p ${HOME}/.local/bin/
cp ${TITLE}_launch ${HOME}/.local/bin/

mkdir -p ${HOME}/.local/share/${TITLE}
cp -r assets ${HOME}/.local/share/${TITLE}/
cp ${TITLE} ${HOME}/.local/share/${TITLE}/
5 changes: 5 additions & 0 deletions linux/basque_launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
TITLE=basque

cd ${HOME}/.local/share/${TITLE}
./${TITLE}
Binary file added linux/basque_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions linux/basque_uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
TITLE=basque

rm ${HOME}/.local/share/applications/${TITLE}.desktop
rm ${HOME}/.local/share/icons/${TITLE}_logo.png
rm ${HOME}/.local/bin/${TITLE}_launch
rm -rf ${HOME}/.local/share/${TITLE}

0 comments on commit bde77ec

Please sign in to comment.