File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -71,13 +71,21 @@ find_gd_installation() {
7171 verbose_log " Searching for Geometry Dash..."
7272 local DATA_HOME=" ${XDG_DATA_HOME:- $HOME / .local/ share} "
7373
74- for GD_IDX in " $DATA_HOME /Steam" " $HOME /Steam" " $HOME /.var/app/com.valvesoftware.Steam/data/Steam" ; do
74+ for GD_IDX in " $DATA_HOME /Steam" " $HOME /Steam" " $HOME /.var/app/com.valvesoftware.Steam/data/Steam" " $HOME /snap/steam/common/.steam/steam " ; do
7575 local PATH_TEST=" $GD_IDX /steamapps/common/Geometry Dash"
7676 verbose_log " - Testing path ${YELLOW} $PATH_TEST ${NC} "
7777
7878 if is_valid_gd_path " $PATH_TEST " ; then
7979 # Found it!
8080 GD_PATH=" $PATH_TEST "
81+
82+ case " $PATH_TEST " in
83+ * /snap/steam/common/* )
84+ echo " ${YELLOW} Detected Steam installed with Snap. This is not a supported platform, and you may run into issues.${NC} "
85+ echo " ${YELLOW} To ensure you have the best experience, install Steam using your distribution's package manager, or through Flatpak.${NC} "
86+ ;;
87+ esac
88+
8189 verbose_log " * Found at ${YELLOW} $GD_PATH ${NC} "
8290 return 0
8391 fi
You can’t perform that action at this time.
0 commit comments