зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1252519 - specify compatible version range in runtime error about Firefox not being found; r=marco
This commit is contained in:
Родитель
3d131923c5
Коммит
4885e02748
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче