-
Notifications
You must be signed in to change notification settings - Fork 7
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
When updating, delete what's not used by newer release #104
Comments
ping @DolceTriade |
I have a feeling some portion of people will get mad that older DPKs are removed. To implement uninstall, I think I will just have it nuke the whole install directory, so no need to track what was installed for that. I would have a checkbox for e.g. "Delete C:\Program Files\Unvanquished" upon configuring the uninstallation so that it's clear what's going to happen. |
The downside of deleting the existing dir is that you have to download everything. Currently, we only download new files and changed files. |
What about all the people who are already mad because we never delete anything? Ask me to test your cgame change: you spammed each user with at least 6MB of persistent garbage. |
Of course we wouldn't do that for an update. That's only when uninstalling.
We just can't win, as every user (and developer) gets mad if the program doesn't work in their preferred manner. |
Why not providing a checkbox:
Also we better delete all obsolete files that are not dpk (dll, or things like that) in all cases. |
What obsolete files? Files that haven't been touched in X months? Files that are not maps, dependencies of maps, and are not default files? idk seems like just tell people to delete what they want from the homedir and let it be redownloaded |
Obsolete files are files not being part of the torrent, and not being part of the engine zip for the current platform. I talk about the install dir, not the home dir. |
The updater definitely won't delete anything from If paks are not safe to delete, this feature request will be pretty low priority as paks are where the megabytes are. It's pretty rare that we get rid of a DLL. At that point if we want to optimize space we'd be better off filtering out the zips for other OSes (and symbols?). |
Oh...for the basepath, any dpk that's not part of the current release is "safe" to be deleted right? If it is required, it will be redownloaded? |
Right.
Right. If a dpk that is part of the current release is mistakenly deleted, it will be redownloaded. The only reason why people may want to keep old released dpk from old releases are:
|
When updating, delete what's not used by newer release : old dll, dpk we don't make use anymore…
We may need to save the install state when installing, see also:
Some features to fulfill one need may be useful to fulfill the other one.
The text was updated successfully, but these errors were encountered: