Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # GOG.com (www.gog.com)
- # Deponia 4: Doomsday
- # Initialization
- CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
- cd "${CURRENT_DIR}"
- source support/gog_com.shlib
- # Game info
- GAME_NAME="$(get_gameinfo 1)"
- VERSION="$(get_gameinfo 2)"
- VERSION_DEV="$(get_gameinfo 3)"
- # Actions
- run_game() {
- echo "Running ${GAME_NAME}"
- cd game
- ./"start"
- }
- default() {
- run_game
- }
- # Options
- define_option "-s" "--start" "start ${GAME_NAME} [default]" "run_game" "$@"
- # Defaults
- standard_options "$@"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement