AppImage new issue notification did not work if run from an extracted
AppImage.
{
appimage_notification();
}
- else if (g_strstr_len(gq_executable_path, -1, "AppRun"))
+ else if (g_strstr_len(gq_executable_path, -1, "squashfs-root"))
{
/* Probably running an extracted AppImage */
appimage_notification();
pref_spacer(group, PREF_PAD_GROUP);
- if (g_getenv("APPDIR") && strstr(g_getenv("APPDIR"), "/tmp/.mount_Geeqie"))
+ if ((g_getenv("APPDIR") && strstr(g_getenv("APPDIR"), "/tmp/.mount_Geeqie")) || (g_strstr_len(gq_executable_path, -1, "squashfs-root")))
{
group = pref_group_new(vbox, FALSE, _("AppImage updates notifications"), GTK_ORIENTATION_VERTICAL);
hbox = pref_box_new(group, TRUE, GTK_ORIENTATION_HORIZONTAL, PREF_PAD_SPACE);