-
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.
* Add ship events * Separate experimental and stable builds for Windows * Separate experimental and stable builds for MacOS * remove desktop file during uninstall * Respond to unsuitable input messages with error * Allow to view flavor content (show button) * Add generic listener for Oolite messages * Improve resilience for unspecified version numbers * Improve logging and documentation
- Loading branch information
Showing
17 changed files
with
916 additions
and
46 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
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,10 +1,11 @@ | ||
[Desktop Entry] | ||
Name=OoliteStarter | ||
Comment=UI to manage Oolite, SaveGames and Expansions | ||
Exec=/opt/oolitestarter/bin/OoliteStarter | ||
Icon=/opt/oolitestarter/lib/OoliteStarter.png | ||
Name=APPLICATION_NAME | ||
Comment=APPLICATION_DESCRIPTION | ||
Exec=APPLICATION_LAUNCHER | ||
Icon=APPLICATION_ICON | ||
Terminal=false | ||
Type=Application | ||
Categories=Unknown | ||
MimeType= | ||
StartupWMClass=oolite-starter-MainFrame | ||
DESKTOP_MIMES |
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,45 @@ | ||
#!/bin/sh | ||
# prerm script for APPLICATION_PACKAGE | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
# summary of how this script can be called: | ||
# * <prerm> `remove' | ||
# * <old-prerm> `upgrade' <new-version> | ||
# * <new-prerm> `failed-upgrade' <old-version> | ||
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version> | ||
# * <deconfigured's-prerm> `deconfigure' `in-favour' | ||
# <package-being-installed> <version> `removing' | ||
# <conflicting-package> <version> | ||
# for details, see https://www.debian.org/doc/debian-policy/ or | ||
# the debian-policy package | ||
|
||
|
||
echo $0 called with $* | ||
printenv | sort | ||
pwd | ||
|
||
package_type=deb | ||
#COMMON_SCRIPTS | ||
DESKTOP_SCRIPTS | ||
LAUNCHER_AS_SERVICE_SCRIPTS | ||
|
||
case "$1" in | ||
remove|upgrade|deconfigure) | ||
xdg-desktop-menu uninstall /opt/APPLICATION_PACKAGE/lib/APPLICATION_PACKAGE-APPLICATION_PACKAGE.desktop | ||
DESKTOP_COMMANDS_UNINSTALL | ||
LAUNCHER_AS_SERVICE_COMMANDS_UNINSTALL | ||
;; | ||
|
||
failed-upgrade) | ||
;; | ||
|
||
*) | ||
echo "prerm called with unknown argument \`$1'" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
exit 0 |
Oops, something went wrong.