Skip to content

Separate Applying and Restoring to different executables. #63

@TheJaredWilcurt

Description

@TheJaredWilcurt

Problem

In this, very long issue:

Everyone is running into the same problem.

  1. Run the exe, works great
  2. Windows forces you to do updates
  3. Upon rebooting, the patched file is unpatched, causing rounded corners to return
  4. Try re-running the executable, it fails because a .bak file exists
  5. Manually delete a file from system32 (fun)
  6. Re-run the executable and it works now.

Solution

Instead of shipping just one executable:

  • Win11DisableOrRestoreRoundedCorners.exe

Ship 2 separate executables:

  • Win11DisableRoundedCorners.exe
  • Win11RestoreRoundedCorners.exe

This will avoid many issues in the future, including the current one.

It puts all the power into the hands of the users to pick what their intent is very clearly.

Should simplify code, as you have two simple tasks to do, instead of having to "guess" what the user wants.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions