diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-07-02 19:32:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 19:32:25 -0700 |
commit | ca061080c13042642fb3bd49a29a863756f45866 (patch) | |
tree | a468b90c31ecb0cb5f2ca7885c2ecc7d4ab09570 /buildconfig | |
parent | 2680dba0aa74abefea58903dadad6578381101cb (diff) | |
parent | 3ad559ab22b6b20264eebb826efc4227374a64cc (diff) | |
download | PrismLauncher-ca061080c13042642fb3bd49a29a863756f45866.tar.gz PrismLauncher-ca061080c13042642fb3bd49a29a863756f45866.tar.bz2 PrismLauncher-ca061080c13042642fb3bd49a29a863756f45866.zip |
Merge pull request #2 from Trial97/feat/acknowledge_release_type
Feat/acknowledge release type
Diffstat (limited to 'buildconfig')
-rw-r--r-- | buildconfig/BuildConfig.cpp.in | 1 | ||||
-rw-r--r-- | buildconfig/BuildConfig.h | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/buildconfig/BuildConfig.cpp.in b/buildconfig/BuildConfig.cpp.in index 35373189..8a412b7f 100644 --- a/buildconfig/BuildConfig.cpp.in +++ b/buildconfig/BuildConfig.cpp.in @@ -82,6 +82,7 @@ Config::Config() { GIT_REFSPEC = "refs/heads/stable"; GIT_TAG = versionString(); + GIT_COMMIT = ""; } if (GIT_REFSPEC.startsWith("refs/heads/")) diff --git a/buildconfig/BuildConfig.h b/buildconfig/BuildConfig.h index a05d7a9e..8543d724 100644 --- a/buildconfig/BuildConfig.h +++ b/buildconfig/BuildConfig.h @@ -1,8 +1,9 @@ // SPDX-License-Identifier: GPL-3.0-only /* - * PolyMC - Minecraft Launcher + * Prism Launcher - Minecraft Launcher * Copyright (c) 2022 Jamie Mansfield <jmansfield@cadixdev.org> * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> + * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,6 +37,7 @@ #pragma once #include <QString> +#include <QList> /** * \brief The Config class holds all the build-time information passed from the build system. @@ -160,6 +162,7 @@ class Config { QString MODRINTH_STAGING_URL = "https://staging-api.modrinth.com/v2"; QString MODRINTH_PROD_URL = "https://api.modrinth.com/v2"; + QStringList MODRINTH_MRPACK_HOSTS{"cdn.modrinth.com", "github.com", "raw.githubusercontent.com", "gitlab.com"}; QString FLAME_BASE_URL = "https://api.curseforge.com/v1"; |