Signed-off-by: Samisafool <thenerdiestguy@gmail.com>
This commit is contained in:
Samisafool
2022-10-18 20:07:04 +05:30
parent ddf168c536
commit 8201d1df02
27 changed files with 89 additions and 89 deletions

View File

@ -194,7 +194,7 @@ public: /* methods */
QString getCompatibleNative(const RuntimeContext & runtimeContext) const;
private: /* methods */
/// the default storage prefix used by PolyMC
/// the default storage prefix used by Prism Launcher
static QString defaultStoragePrefix();
/// Get the prefix - root of the storage to be used
@ -215,23 +215,23 @@ protected: /* data */
/// DEPRECATED URL prefix of the maven repo where the file can be downloaded
QString m_repositoryURL;
/// DEPRECATED: PolyMC-specific absolute URL. takes precedence over the implicit maven repo URL, if defined
/// DEPRECATED: Prism Launcher-specific absolute URL. takes precedence over the implicit maven repo URL, if defined
QString m_absoluteURL;
/// PolyMC extension - filename override
/// Prism Launcher extension - filename override
QString m_filename;
/// DEPRECATED PolyMC extension - display name
/// DEPRECATED Prism Launcher extension - display name
QString m_displayname;
/**
* PolyMC-specific type hint - modifies how the library is treated
* Prism Launcher-specific type hint - modifies how the library is treated
*/
QString m_hint;
/**
* storage - by default the local libraries folder in polymc, but could be elsewhere
* PolyMC specific, because of FTB.
* storage - by default the local libraries folder in Prism Launcher, but could be elsewhere
* Prism Launcher specific, because of FTB.
*/
QString m_storagePrefix;

View File

@ -62,19 +62,19 @@ public: /* methods */
void applyTo(LaunchProfile* profile, const RuntimeContext & runtimeContext);
public: /* data */
/// PolyMC: order hint for this version file if no explicit order is set
/// Prism Launcher: order hint for this version file if no explicit order is set
int order = 0;
/// PolyMC: human readable name of this package
/// Prism Launcher: human readable name of this package
QString name;
/// PolyMC: package ID of this package
/// Prism Launcher: package ID of this package
QString uid;
/// PolyMC: version of this package
/// Prism Launcher: version of this package
QString version;
/// PolyMC: DEPRECATED dependency on a Minecraft version
/// Prism Launcher: DEPRECATED dependency on a Minecraft version
QString dependsOnMinecraftVersion;
/// Mojang: DEPRECATED used to version the Mojang version format
@ -86,13 +86,13 @@ public: /* data */
/// Mojang: class to launch Minecraft with
QString mainClass;
/// PolyMC: class to launch legacy Minecraft with (embed in a custom window)
/// Prism Launcher: class to launch legacy Minecraft with (embed in a custom window)
QString appletClass;
/// Mojang: Minecraft launch arguments (may contain placeholders for variable substitution)
QString minecraftArguments;
/// PolyMC: Additional JVM launch arguments
/// Prism Launcher: Additional JVM launch arguments
QStringList addnJvmArguments;
/// Mojang: list of compatible java majors
@ -110,38 +110,38 @@ public: /* data */
/// Mojang: DEPRECATED asset group to be used with Minecraft
QString assets;
/// PolyMC: list of tweaker mod arguments for launchwrapper
/// Prism Launcher: list of tweaker mod arguments for launchwrapper
QStringList addTweakers;
/// Mojang: list of libraries to add to the version
QList<LibraryPtr> libraries;
/// PolyMC: list of maven files to put in the libraries folder, but not in classpath
/// Prism Launcher: list of maven files to put in the libraries folder, but not in classpath
QList<LibraryPtr> mavenFiles;
/// PolyMC: list of agents to add to JVM arguments
/// Prism Launcher: list of agents to add to JVM arguments
QList<AgentPtr> agents;
/// The main jar (Minecraft version library, normally)
LibraryPtr mainJar;
/// PolyMC: list of attached traits of this version file - used to enable features
/// Prism Launcher: list of attached traits of this version file - used to enable features
QSet<QString> traits;
/// PolyMC: list of jar mods added to this version
/// Prism Launcher: list of jar mods added to this version
QList<LibraryPtr> jarMods;
/// PolyMC: list of mods added to this version
/// Prism Launcher: list of mods added to this version
QList<LibraryPtr> mods;
/**
* PolyMC: set of packages this depends on
* Prism Launcher: set of packages this depends on
* NOTE: this is shared with the meta format!!!
*/
Meta::RequireSet requires;
/**
* PolyMC: set of packages this conflicts with
* Prism Launcher: set of packages this conflicts with
* NOTE: this is shared with the meta format!!!
*/
Meta::RequireSet conflicts;

View File

@ -44,7 +44,7 @@
/*!
* List of available Mojang accounts.
* This should be loaded in the background by PolyMC on startup.
* This should be loaded in the background by Prism Launcher on startup.
*/
class AccountList : public QAbstractListModel
{

View File

@ -61,7 +61,7 @@ Q_DECLARE_METATYPE(MinecraftAccountPtr)
* A profile within someone's Mojang account.
*
* Currently, the profile system has not been implemented by Mojang yet,
* but we might as well add some things for it in PolyMC right now so
* but we might as well add some things for it in Prism Launcher right now so
* we don't have to rip the code to pieces to add it later.
*/
struct AccountProfile

View File

@ -154,7 +154,7 @@ void LauncherPartLaunch::executeTask()
#else
args << classPath.join(':');
#endif
args << "org.polymc.EntryPoint";
args << "org.prismlauncher.EntryPoint";
qDebug() << args.join(' ');

View File

@ -23,7 +23,7 @@ MinecraftServerTarget MinecraftServerTarget::parse(const QString &fullAddress) {
// The logic below replicates the exact logic minecraft uses for parsing server addresses.
// While the conversion is not lossless and eats errors, it ensures the same behavior
// within Minecraft and PolyMC when entering server addresses.
// within Minecraft and Prism Launcher when entering server addresses.
if (fullAddress.startsWith("["))
{
int bracket = fullAddress.indexOf("]");