-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep folders after update #7292
Comments
This function is really needed, for example, user configuration is stored in C disk by default, but C disk is sandbox, and C disk will be reset every time it is restarted, so I added a function that users can modify the configuration path, but this configured path needs a place to store, I think it is best to put in the software root directory, but this file will be deleted after software update. Hopefully, the ability to update reserved files can be added. |
AFAIK, updates are supposed to wipe the app directory by nature. I'd advocate for storing/persisting the config file within AppData where the rest of app data should be located. |
This is not correct as it should be an update and not a reinstall. In my case, for example, I am creating a launcher for a game and I give the user the option to choose the installation directory in the application (launcher). When starting the launcher, the game is downloaded to the same directory as the application (as it is quite complicated to simply save to AppData). When the Launcher receives an automatic UPDATE, the game files are simply deleted and will need to be downloaded again... This feat should be called AUTO REINSTALL instead of AUTO UPDATE. |
Related to this : #2181
I want to know how I can keep folders in the application directory after auto update?
Actually, all folders and files are deleted.
Thanks!
The text was updated successfully, but these errors were encountered: