Make it clearer when the base Starbound assets are missing
until the installer can locate the user's original Starbound assets
This commit is contained in:
parent
4d84152609
commit
5da4b1a4e3
@ -457,7 +457,8 @@ public:
|
|||||||
Thread::sleepPrecise(spareMilliseconds);
|
Thread::sleepPrecise(spareMilliseconds);
|
||||||
}
|
}
|
||||||
} catch (std::exception const& e) {
|
} catch (std::exception const& e) {
|
||||||
Logger::error("Application: exception thrown, shutting down: {}", outputException(e, true));
|
Logger::error("Application: exception thrown!");
|
||||||
|
fatalException(e, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -684,7 +684,8 @@ StringList Root::scanForAssetSources(StringList const& directories, StringList c
|
|||||||
if (auto requirement = namedSources.ptr(requirementName))
|
if (auto requirement = namedSources.ptr(requirementName))
|
||||||
dependencySortVisit(*requirement);
|
dependencySortVisit(*requirement);
|
||||||
else
|
else
|
||||||
throw StarException(strf("Asset source '{}' is missing dependency '{}'", *source->name, requirementName));
|
throw StarException(strf("Asset source '{}' is missing dependency '{}'{}", *source->name, requirementName,
|
||||||
|
requirementName != "base" ? "" : "\n\n(The base Starbound asset package could not be found, please copy it from another Starbound install!)\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
workingSet.remove(source);
|
workingSet.remove(source);
|
||||||
|
Loading…
Reference in New Issue
Block a user