From 45c81c17c82bde57d634fa5871b66e44039a8262 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Mon, 11 Sep 2023 07:33:45 +0200 Subject: [PATCH] start gui appimage if possible Signed-off-by: Christian Brabandt closes #59 closes #57 --- scripts/appimage.sh | 1 + 1 file changed, 1 insertion(+) 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