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

Import Bugfix: Change Preset Type and contains check #2789

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

Marterich
Copy link
Contributor

Type of Change

  • Bug fix

Description

When the Powershell Tweaks Import didn't work reliably because until now, all of the imported tweaks were stored as a long string and searched for a substring. This resulted in both powershell tweaks being selected because the Internal tweak names are quite similar.
Now, all the tweaks are loaded as an array, and checked for an exact match to fix the issue

Testing

Created an Export of Applications / Tweaks and Features, cleared all checkmarks, imported them and checked if they are the same

Issue related to PR

@SHR1SHAK
Copy link
Contributor

will the exported .json still work after this update?

@Marterich
Copy link
Contributor Author

will the exported .json still work after this update?

Yes, the export function didn't change in any way

@SHR1SHAK
Copy link
Contributor

will the exported .json still work after this update?

Yes, the export function didn't change in any way

nice

@ChrisTitusTech ChrisTitusTech merged commit 182fe09 into ChrisTitusTech:main Sep 23, 2024
1 check passed
Real-MullaC pushed a commit to Real-MullaC/winutil that referenced this pull request Sep 29, 2024
@Marterich Marterich deleted the fix-ps-tweaks branch October 3, 2024 10:59
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.

Tweaks export/import bug.
3 participants