diff --git a/src/launcher/kiwix-launcher.cpp b/src/launcher/kiwix-launcher.cpp index 1a2f803..f43a59d 100644 --- a/src/launcher/kiwix-launcher.cpp +++ b/src/launcher/kiwix-launcher.cpp @@ -46,8 +46,11 @@ int main(int argc, char *argv[]) // exist if xulrunner can't be found if (!fileExists(xulrunner_path)) { - perror("Unable to find xulrunner-bin binary"); - return EXIT_FAILURE; + xulrunner_path = computeAbsolutePath(cwd, "xulrunner/xulrunner"); + if (!fileExists(xulrunner_path)) { + perror("Unable to find neither the 'xulrunner-bin' nor the 'xulrunner' binary"); + return EXIT_FAILURE; + } } // execute xulrunner