Bug 1252519 - specify compatible version range in runtime error about Firefox not being found; r=marco

This commit is contained in:
Myk Melez 2016-03-01 14:26:23 -08:00
parent 99d3229ad3
commit 3524a6b341
3 changed files with 5 additions and 5 deletions

View File

@ -384,8 +384,8 @@ int main(int argc, char *argv[])
snprintf(appIniPath, MAXPATHLEN, "%s/%s", firefoxDir, kAPP_INI);
if (NS_FAILED(parser.Init(appIniPath))) {
ErrorDialog("This app requires that Firefox version 16 or above is installed."
" Firefox 16+ has not been detected.");
ErrorDialog("This app requires a Firefox version between 16 and 47 to be installed."
" No compatible version of Firefox has been detected.");
return 255;
}

View File

@ -381,7 +381,7 @@ NSString
}
NSLog(@"unable to find a valid webrt path");
@throw MakeException(@"This App requires that Firefox version 16 or above is installed.", @"Firefox 16+ has not been detected.");
@throw MakeException(@"This app requires a Firefox version between 16 and 47 to be installed.", @"No compatible version of Firefox has been detected.");
return nil;
}

View File

@ -524,7 +524,7 @@ main(int argc, char* argv[])
}
// We've done all we know how to do to try to find and launch FF
Output("This app requires that Firefox version 16 or above is installed."
" Firefox 16+ has not been detected.");
Output("This app requires a Firefox version between 16 and 47 to be installed."
" No compatible version of Firefox has been detected.");
return 255;
}