hellzerg / optimizer

The finest Windows Optimizer
GNU General Public License v3.0
13.64k stars 917 forks source link

Adding Reset To Default option #462

Closed ItzEr1ck closed 7 months ago

ItzEr1ck commented 7 months ago

I don't know if there's a reset option, but it would be better for people who wants to return back to default in a single-click rather disabling all the options.

dcooper-database9 commented 7 months ago

I've been looking at the code to see if there are things I can contribute. Adding the ability to reset values is something I would like to have myself, and I've been thinking about how to accomplish it.

I think there are several meanings to resetting an option. One is to reset the value to what it was before Optimizer was installed. Another is to reset to what it was before the program was last started. Another is to reset to what you would find on a clean install of Windows.

It looks like Optimizer is already part of the way there, because it has the ability to load a template to set multiple values at once. Right now you load a template by starting the program from the command line. I think it would be good to be able to load a template through the GUI.

We also need code to generate a template:

  1. On demand
  2. Automatically when Optimizer is installed
  3. Automatically when Optimizer is started

hellzerg commented 7 months ago

@ItzEr1ck @dcooper-database9

Actually, if you use the template engine and set all the tweaks to false, and run it, it will reset everything to default. The Windows default of course that makes sense.