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
Родитель 3d131923c5
Коммит 4885e02748
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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;
}