diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-12-02 20:46:01 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-12-02 20:46:04 +0100 |
commit | b9a17f59997ced5be50c9316406cbc5791265099 (patch) | |
tree | 21296860dc21b3d418adf37b6c720db71e5dee68 /launcher/minecraft/PackProfile.h | |
parent | 66f9fed2f2fccfb00ee3086637a667eca60213aa (diff) | |
parent | ab23f542c648f09e989b2fa650031e169567a3d6 (diff) | |
download | PrismLauncher-b9a17f59997ced5be50c9316406cbc5791265099.tar.gz PrismLauncher-b9a17f59997ced5be50c9316406cbc5791265099.tar.bz2 PrismLauncher-b9a17f59997ced5be50c9316406cbc5791265099.zip |
Merge branch 'upstream/develop' into develop
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/minecraft/PackProfile.h')
-rw-r--r-- | launcher/minecraft/PackProfile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/launcher/minecraft/PackProfile.h b/launcher/minecraft/PackProfile.h index 807511a2..2330cca1 100644 --- a/launcher/minecraft/PackProfile.h +++ b/launcher/minecraft/PackProfile.h @@ -1,7 +1,8 @@ // SPDX-License-Identifier: GPL-3.0-only /* - * PolyMC - Minecraft Launcher + * Prism Launcher - Minecraft Launcher * Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net> + * Copyright (C) 2022 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 @@ -85,6 +86,9 @@ public: /// install a jar/zip as a replacement for the main jar void installCustomJar(QString selectedFile); + /// install Java agent files + void installAgents(QStringList selectedFiles); + enum MoveDirection { MoveUp, MoveDown }; /// move component file # up or down the list void move(const int index, const MoveDirection direction); @@ -167,6 +171,7 @@ private: bool load(); bool installJarMods_internal(QStringList filepaths); bool installCustomJar_internal(QString filepath); + bool installAgents_internal(QStringList filepaths); bool removeComponent_internal(ComponentPtr patch); private: /* data */ |