mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 16:51:30 +00:00
GH-5146 mrpack exporter: add option to treat disabled files as optional
This commit is contained in:
@@ -81,6 +81,7 @@ void ModrinthExportDialog::accept()
|
||||
settings.includeModConfigs = ui->includeModConfigs->isChecked();
|
||||
settings.includeResourcePacks = ui->includeResourcePacks->isChecked();
|
||||
settings.includeShaderPacks = ui->includeShaderPacks->isChecked();
|
||||
settings.treatDisabledAsOptional = ui->treatDisabledAsOptional->isChecked();
|
||||
|
||||
if (ui->includeDatapacks->isChecked()) {
|
||||
settings.datapacksPath = ui->datapacksPath->text();
|
||||
|
@@ -112,7 +112,7 @@
|
||||
<x>9</x>
|
||||
<y>29</y>
|
||||
<width>801</width>
|
||||
<height>221</height>
|
||||
<height>227</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="optionsLayout">
|
||||
@@ -174,6 +174,16 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="treatDisabledAsOptional">
|
||||
<property name="toolTip">
|
||||
<string>If enabled, all mods, shaders and resource packs that are available on Modrinth will be treated as optional on both client and server. Files that are unavailable on Modrinth will simply retain the ".disabled" extension as Modrinth packs don't support optional overrides.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Treat disabled mods, shaders and resource packs as optional</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
|
Reference in New Issue
Block a user