Don't crash Test Viewer due to missing version checker
parent
f7f939ecf2
commit
c9cc8f6dde
|
|
@ -1167,14 +1167,10 @@ bool LLAppViewer::init()
|
|||
// ForceAddressSize
|
||||
updater.args.add(stringize(gSavedSettings.getU32("ForceAddressSize")));
|
||||
|
||||
#if LL_WINDOWS && !LL_RELEASE_FOR_DOWNLOAD && !LL_SEND_CRASH_REPORTS
|
||||
// This is neither a release package, nor crash-reporting enabled test build
|
||||
// try to run version updater, but don't bother if it fails (file might be missing)
|
||||
LLLeap *leap_p = LLLeap::create(updater, false);
|
||||
if (!leap_p)
|
||||
{
|
||||
LL_WARNS("LLLeap") << "Failed to run LLLeap" << LL_ENDL;
|
||||
}
|
||||
#if !LL_RELEASE_FOR_DOWNLOAD && !LL_SEND_CRASH_REPORTS
|
||||
// This is neither a release package, nor crash-reporting enabled test build
|
||||
// Note: pointless to launch on Windows - it shouldn't expect secondlife-bin.exe
|
||||
LL_WARNS("LLLeap") << "Launching without version checker" << LL_ENDL;
|
||||
#else
|
||||
// Run the updater. An exception from launching the updater should bother us.
|
||||
LLLeap::create(updater, true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue