From c0f54fb24cb125c5935dd63ab909ad0223d7620a Mon Sep 17 00:00:00 2001 From: kelson42 Date: Tue, 7 May 2013 16:18:18 +0200 Subject: [PATCH] + fix launcher for XR20 --- src/launcher/kiwix-launcher.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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