mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1252519 - specify compatible version range in runtime error about Firefox not being found; r=marco
This commit is contained in:
parent
99d3229ad3
commit
3524a6b341
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user