Skip to content

Comments

Fix installing compressed fso versions#173

Merged
JohnAFernandez merged 2 commits intoKnossosNET:mainfrom
JohnAFernandez:Fix-installing-compressed-fso-versions
Mar 23, 2024
Merged

Fix installing compressed fso versions#173
JohnAFernandez merged 2 commits intoKnossosNET:mainfrom
JohnAFernandez:Fix-installing-compressed-fso-versions

Conversation

@JohnAFernandez
Copy link
Contributor

@JohnAFernandez JohnAFernandez commented Mar 22, 2024

Mod compression support begins at 23.2 (specifically a 23.1 nightly), but we do have mods on nebula whose default build is 19.0, very different from 23.2. Allowing compression to take place for mods like this does not make sense, unless the user is in Manual or Always mode and knows that they will have to risk a newer build to correctly run the compressed modpack. So, remove the automatic compression approval if the mod just happens to have a ">=" in the build version.

Tested and this keeps mod compression from automatically happening when the required version is < the supported version.

Fixes #169

@JohnAFernandez
Copy link
Contributor Author

grumbles why the heck do I have unrelated stuff in the branch. Please hold

Mod compression support begins at 23.2 (specifically a 23.1 nightly), but we do have mods on knossos whose default build is 19.0, very different from 23.2.  Allowing compression to take place for mods like this does not make sense, unless the user is in Manual mode and knows that they will have to risk a newer build to correctly run the compressed modpack.  So, remove the automatic approval if the mod just happens to have a ">=" in the build version.
@JohnAFernandez JohnAFernandez force-pushed the Fix-installing-compressed-fso-versions branch from a2c7488 to 59c61ff Compare March 22, 2024 04:15
@JohnAFernandez JohnAFernandez added the fix Fix for a bug label Mar 22, 2024
@JohnAFernandez JohnAFernandez added this to the 1.1.0 milestone Mar 22, 2024
@JohnAFernandez JohnAFernandez self-assigned this Mar 22, 2024
@JohnAFernandez JohnAFernandez merged commit 80004f1 into KnossosNET:main Mar 23, 2024
@JohnAFernandez JohnAFernandez deleted the Fix-installing-compressed-fso-versions branch March 23, 2024 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mod compression function compresses unsupported mods when i set it to "mod support"

2 participants