forge
forge copied to clipboard
How to delete AppData folder when uninstall the App?
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
How would you recommend doing this on macOS where uninstalling is just dragging your packaged .app folder into the Trash? 🤔
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.