Commit dc8da666 authored by Antenore Gatta's avatar Antenore Gatta

Merge branch 'better-ci' into 'master'

AppImage path fixes

See merge request Remmina/Remmina!1914
parents 59d323fa 98f93a10
......@@ -21,20 +21,31 @@
set -o nounset # Treat unset variables as an error
USRBIN="$(dirname "$(readlink -f "${0}")")"
REMMINA="@[email protected]"
if [[ ! -f "$REMMINA" ]] ; then
REMMINA="${USRBIN}/remmina"
else
REMMINA="remmina"
fi
export GLADE_HOME="$USRBIN/../share/remmina/ui/"
case "[email protected]" in
*rdp:*)
@[email protected] "${@#rdp:\/\/}"
"$REMMINA" "${@#rdp:\/\/}"
;;
*spice:*)
@[email protected] "${@#spice:\/\/}"
"$REMMINA" "${@#spice:\/\/}"
;;
*vnc:*)
@[email protected] "${@#vnc:\/\/}"
"$REMMINA" "${@#vnc:\/\/}"
;;
*remmina:*)
@[email protected] "${@#remmina:\/\/}"
"$REMMINA" "${@#remmina:\/\/}"
;;
*)
@[email protected] "${@}"
"$REMMINA" "${@}"
;;
esac
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment