Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always track changes to mods.yml when installing mods to a profile #1508

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

anttimaki
Copy link
Collaborator

Both regular installation and importing a profile now use the same helper function. Effectively this means that import now tracks installed mods to profile's mods.yml file instead of copying the file as-is from the exported zip. This restores compatibility with profiles exported with Gale, and closes one potential attack vector.

Profile exporting no longer includes the mods.yml in the zip files. Profile import ignores the file even if it exists to accommodate older profiles.

Both regular installation and importing a profile now use the same
helper function. Effectively this means that import now tracks
installed mods to profile's mods.yml file instead of copying the file
as-is from the exported zip. This restores compatibility with profiles
exported with Gale, and closes one potential attack vector.

Profile exporting no longer includes the mods.yml in the zip files.
Profile import ignores the file even if it exists to accommodate older
profiles.
Base automatically changed from install-mods-disk-usage to develop October 30, 2024 07:30
@anttimaki anttimaki merged commit 8e35b18 into develop Oct 30, 2024
5 checks passed
@anttimaki anttimaki deleted the import-without-modsyml branch October 30, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant