summarylogtreecommitdiffstats
path: root/hyperrogue.sh
blob: 865ccdd61239c05bec63d21dbcb35393bb7d0312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# Set the directory and executable
EXEC_DIR="/usr/share/hyperrogue"
EXECUTABLE="app"
#
# # Change to the executable's directory
cd "$EXEC_DIR" || { echo "Error: Could not change directory to $EXEC_DIR"; exit 1; }
#
# # Run the executable
./"$EXECUTABLE" || { echo "Error: $EXECUTABLE failed to run"; exit 1; }
#
# # Exit successfully
echo "$EXECUTABLE ran successfully."
exit 0