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

Remove existing profile on import #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

mark-mon
Copy link

As modders update their profiles, users import the updated profile but it currently just merges the files leaving old objecthooks and other files. The result is that the imported profile doesn't work and the users have to manually load global dir and delete the old first. Not only does this negate the functionality of using the import button, but also many users don't know how to do this.

This patch checks for the presence of the existing folder and deletes it first allowing each import to work freshly as expected.

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.

2 participants