mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
resolve problems
Signed-off-by: clague <93119153+clague@users.noreply.github.com>
This commit is contained in:
parent
4bf6e59f3b
commit
09ec3eb621
4 changed files with 12 additions and 18 deletions
|
|
@ -298,11 +298,7 @@ QString AssetObject::getLocalPath()
|
|||
|
||||
QUrl AssetObject::getUrl()
|
||||
{
|
||||
auto s = APPLICATION->settings();
|
||||
auto resourceURL = s->get("ResourceURLOverride").toString();
|
||||
if (resourceURL.isEmpty()) {
|
||||
return BuildConfig.DEFAULT_RESOURCE_BASE + getRelPath();
|
||||
}
|
||||
auto resourceURL = APPLICATION->settings()->get("ResourceURL").toString();
|
||||
return resourceURL + getRelPath();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue