mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 02:46:59 +03:00
NOISSUE reorganize and document libraries
This commit is contained in:
parent
47e37635f5
commit
b6d455a02b
368 changed files with 159 additions and 275 deletions
16
api/logic/net/URLConstants.cpp
Normal file
16
api/logic/net/URLConstants.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#include "URLConstants.h"
|
||||
|
||||
namespace URLConstants {
|
||||
|
||||
QString getLegacyJarUrl(QString version)
|
||||
{
|
||||
return "http://" + AWS_DOWNLOAD_VERSIONS + getJarPath(version);
|
||||
}
|
||||
|
||||
QString getJarPath(QString version)
|
||||
{
|
||||
return version + "/" + version + ".jar";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue