Closed ericpyle closed 2 months ago
I'm not 100% this is what we want, but it may be the simplest way to reset someone's app if it's in a bad state (e.g. due to files on disk being out of sync with what's in the browser cache).
https://stackoverflow.com/questions/57627496/how-can-we-remove-the-appdata-of-an-electron-msi-application-when-we-uninstall-i
https://stackoverflow.com/a/72571873/24056785
in electron-builder configuration add:
"build": { "nsis": { "deleteAppDataOnUninstall": true } }
To prompt if the user wants to remove the data:
https://github.com/electron-userland/electron-builder/issues/4141#issue-479212515
Hopefully this does not get triggered during auto-updates
I'm not 100% this is what we want, but it may be the simplest way to reset someone's app if it's in a bad state (e.g. due to files on disk being out of sync with what's in the browser cache).
https://stackoverflow.com/questions/57627496/how-can-we-remove-the-appdata-of-an-electron-msi-application-when-we-uninstall-i
https://stackoverflow.com/a/72571873/24056785
in electron-builder configuration add:
To prompt if the user wants to remove the data:
https://github.com/electron-userland/electron-builder/issues/4141#issue-479212515