Skip to content

launch GUI when AppImage is double clicked - #7

Merged
Link4Electronics merged 1 commit into
mainfrom
gui
Aug 14, 2026
Merged

launch GUI when AppImage is double clicked#7
Link4Electronics merged 1 commit into
mainfrom
gui

Conversation

@Samueru-sama

Copy link
Copy Markdown
Member

[ "${ARG0##*/}" = "${APPIMAGE##*/}" ] makes sure we are not adding the --gui arg to the positional array when we execute a symlink that differs from the name of the appimage (normally done to execute other bundled binaries).

It also doesn't act if you are passing args already to the AppImage.

The [ -t 0 ] is what makes sure this only happens when not launched from a terminal.

@Link4Electronics

Copy link
Copy Markdown
Member

Thanks @Samueru-sama

@Link4Electronics
Link4Electronics merged commit c6cc5e0 into main Aug 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants