seasonal builds
This commit is contained in:
@@ -66,6 +66,16 @@ QString LauncherPaths::buildStorageDir()
|
||||
return rootDir() + QStringLiteral("/builds");
|
||||
}
|
||||
|
||||
QString LauncherPaths::buildDir(int buildId)
|
||||
{
|
||||
return buildStorageDir() + u'/' + QString::number(buildId);
|
||||
}
|
||||
|
||||
QString LauncherPaths::seasonalStateFile(int buildId)
|
||||
{
|
||||
return buildDir(buildId) + QStringLiteral("/season.json");
|
||||
}
|
||||
|
||||
QString LauncherPaths::runtimeDir()
|
||||
{
|
||||
return rootDir() + QStringLiteral("/runtime");
|
||||
@@ -96,6 +106,11 @@ QString LauncherPaths::versionManifestFile()
|
||||
return cacheDir() + QStringLiteral("/version_manifest.json");
|
||||
}
|
||||
|
||||
QString LauncherPaths::seasonalCatalogFile()
|
||||
{
|
||||
return cacheDir() + QStringLiteral("/seasonal_builds.json");
|
||||
}
|
||||
|
||||
QString LauncherPaths::loaderCacheFile(const QString &loaderKey)
|
||||
{
|
||||
return cacheDir() + QStringLiteral("/loader_") + loaderKey + QStringLiteral(".json");
|
||||
|
||||
Reference in New Issue
Block a user