diff --git a/scripts/appimage.sh b/scripts/appimage.sh index c59b7b62..5f781473 100755 --- a/scripts/appimage.sh +++ b/scripts/appimage.sh @@ -32,6 +32,7 @@ make_appimage() HERE="$(dirname "$(readlink -f "${0}")")" unset ARGV0 export VIMRUNTIME=${HERE}/usr/share/vim/vim90 +test -L "${HERE}/usr/bin/gvim" && exec "${HERE}/usr/bin/gvim" "${@+"$@"}" exec "${HERE}/usr/bin/vim" "${@+"$@"}" EOF popd