feat: add ability to change assets download server
Signed-off-by: clague <93119153+clague@users.noreply.github.com>
This commit is contained in:
parent
2c91629564
commit
4bf6e59f3b
6 changed files with 73 additions and 3 deletions
|
@ -864,6 +864,15 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv)
|
|||
// get rid of invalid meta urls
|
||||
if (!metaUrl.isValid() || (metaUrl.scheme() != "http" && metaUrl.scheme() != "https"))
|
||||
m_settings->reset("MetaURLOverride");
|
||||
|
||||
// Resource URL
|
||||
m_settings->registerSetting("ResourceURLOverride", "");
|
||||
|
||||
QUrl resourceUrl(m_settings->get("ResourceURLOverride").toString());
|
||||
|
||||
// get rid of invalid resource urls
|
||||
if (!resourceUrl.isValid() || (resourceUrl.scheme() != "http" && resourceUrl.scheme() != "https"))
|
||||
m_settings->reset("ResourceURLOverride");
|
||||
}
|
||||
|
||||
m_settings->registerSetting("CloseAfterLaunch", false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue