We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce61b83 + cd5b6c4 commit effcebcCopy full SHA for effcebc
src/runtime.c
@@ -662,7 +662,7 @@ int main(int argc, char *argv[]) {
662
free(abspath);
663
}
664
665
- if (arg && strcmp(arg, "appimage-extract-and-run") == 0) {
+ if (getenv("APPIMAGE_EXTRACT_AND_RUN") != NULL || (arg && strcmp(arg, "appimage-extract-and-run") == 0)) {
666
char* hexlified_digest = NULL;
667
668
// calculate MD5 hash of file, and use it to make extracted directory name "content-aware"
0 commit comments