forge icon indicating copy to clipboard operation
forge copied to clipboard

How to delete AppData folder when uninstall the App?

Open Saikiran6311 opened this issue 1 year ago • 2 comments

Pre-flight checklist

  • [X] I have read the contribution documentation for this project.
  • [X] I agree to follow the code of conduct that this project uses.
  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description

While uninstalling electron app, not able to delete app data in macOS and Windows. App data need to be deleted automatically. can we add any flag for it.

Proposed solution

.

Alternatives considered

.

Additional information

No response

Saikiran6311 avatar Jul 02 '24 05:07 Saikiran6311

How would you recommend doing this on macOS where uninstalling is just dragging your packaged .app folder into the Trash? 🤔

erickzhao avatar Jul 02 '24 21:07 erickzhao

We are currently writing scripts to delete app data and running them manually. However, we are looking to automate this process through Electron Forge to eliminate the need for manual script execution.

For macOS, if there is a built-in property or method to delete app data, it would simplify this task further.

Saikiran6311 avatar Jul 19 '24 12:07 Saikiran6311