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

Any way to roll back any changes made? #6

Open
puppyscrubber opened this issue Feb 6, 2025 · 4 comments
Open

Any way to roll back any changes made? #6

puppyscrubber opened this issue Feb 6, 2025 · 4 comments
Labels
enhancement New feature or request question Further information is requested stale

Comments

@puppyscrubber
Copy link

Is there a way to easily undo any changes made by the script?

@flick9000 flick9000 added enhancement New feature or request question Further information is requested labels Feb 6, 2025
@flick9000
Copy link
Owner

Unfortunately, no. However, you can copy the script, manually reverse the changes using a text editor, and toggle the Regedit keys between 1 and 0 and the invert the other settings. In the first tab, when you launch the program, there is a 'Create Restore Point' option to revert the script's changes. Perhaps I could also add a prompt asking the user if they want to create a restore point before running the script.

@puppyscrubber
Copy link
Author

puppyscrubber commented Feb 6, 2025 via email

@flick9000
Copy link
Owner

I just finished implementing the restore point prompt before the user runs the script, it will be available in the next release.

The scripts are stored in the app as strings, so a reverse changes button would require writing a 'undoScript' for each script present in the app, which is doable.

The problem is that the app doesn't read from registry, because the purpose of the program it was not to be a settings changer for Windows, it was to create a "script builder" which can be analyzed and possibly ran on multiple machines ; so once you restart the app you will not be able to know which options are enabled or not.

Copy link

github-actions bot commented Mar 9, 2025

This issue has been marked as stale due to inactivity.

@github-actions github-actions bot added the stale label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants