-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-7.x' of https://github.com/PrismLauncher/PrismL…
…auncher into develop
- Loading branch information
Showing
62 changed files
with
1,918 additions
and
841 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
/* | ||
* PolyMC - Minecraft Launcher | ||
* Prism Launcher - Minecraft Launcher | ||
* Copyright (c) 2022 Jamie Mansfield <[email protected]> | ||
* Copyright (C) 2022 Sefa Eyeoglu <[email protected]> | ||
* Copyright (C) 2022 Lenny McLennington <[email protected]> | ||
* Copyright (C) 2023 TheKodeToad <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -37,6 +38,7 @@ | |
|
||
#pragma once | ||
#include <QString> | ||
#include <QList> | ||
|
||
/** | ||
* \brief The Config class holds all the build-time information passed from the build system. | ||
|
@@ -166,6 +168,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"; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
(import nix/flake-compat.nix).defaultNix | ||
( | ||
import | ||
( | ||
let | ||
lock = builtins.fromJSON (builtins.readFile ./flake.lock); | ||
in | ||
fetchTarball { | ||
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; | ||
sha256 = lock.nodes.flake-compat.locked.narHash; | ||
} | ||
) | ||
{src = ./.;} | ||
) | ||
.defaultNix |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.