forked from flathub/io.github.theforceengine.tfe
-
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.
Drop local AppStream meta data in favor of upstream
Externalize launch script into a separate file Enable Wayland support following luciusDXL/TheForceEngine#386 Move installing the launch script into a separate `module` Use Flatpak Builder environment variables where applicable Fix git tag pattern checker Change `buildsystem` to `cmake` Move editing the Desktop Entry file to `post-install` step Add Flatpak extension support for mods following luciusDXL/TheForceEngine#393 Externalize the default “AdjustableHud” mod into a separate but bundled Flatpak `.Mod` extension
- Loading branch information
1 parent
45719cd
commit 2013fec
Showing
3 changed files
with
63 additions
and
149 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
#!/usr/bin/sh | ||
# Check for game data | ||
set -e | ||
if [[ -z "$TFE_SKIP_DATACHECK" ]] && \ | ||
[[ -z $(find "$XDG_DATA_HOME" -iname 'DARK.GOB') ]] && \ | ||
[[ ! -d "$HOME/.local/share/Steam/steamapps/common/Dark Forces/Game/" ]] && \ | ||
[[ ! -d "$HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Dark Forces/Game/" ]]; then | ||
zenity --error \ | ||
--text "<b>Could not find Dark Forces game data</b>\\n\\nPlease either install Dark Forces via Steam to your default library path or copy the game data to <tt><b>$XDG_DATA_HOME/</b></tt>." \ | ||
--ok-label 'Close' \ | ||
--no-wrap | ||
fi | ||
export TFE_DATA_HOME='/app/share/TheForceEngine' | ||
exec theforceengine |
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