@Afforess: I thought about the logic behind the new update system:
## Standard update process
- Check local md5sum of each file
- Save a config file (json) with: "filepath" : "md5sum"
- Download a json server file
- For each filepath in json server file, compare md5sum with local file
3 cases:
-> File is identical -> Nothing to do
-> File is found server-side but not client-side -> Download server version
-> File is found client-side but not server-side OR md5sum are different:
--> Standard config files are blacklisted, so they won't be removed or overwrited [Autolog, Uninstall.exe, Checker/checker_config.ini, Checker/updater.log]
--> PROBLEM: If an addon is installed or a file manually modified.
How do you think it has to work for a modified file ?
## Standard update process
- Check local md5sum of each file
- Save a config file (json) with: "filepath" : "md5sum"
- Download a json server file
- For each filepath in json server file, compare md5sum with local file
3 cases:
-> File is identical -> Nothing to do
-> File is found server-side but not client-side -> Download server version
-> File is found client-side but not server-side OR md5sum are different:
--> Standard config files are blacklisted, so they won't be removed or overwrited [Autolog, Uninstall.exe, Checker/checker_config.ini, Checker/updater.log]
--> PROBLEM: If an addon is installed or a file manually modified.
How do you think it has to work for a modified file ?