icecoder / ICEcoder

Browser code editor awesomeness
http://icecoder.net
Other
1.42k stars 347 forks source link

Revise updater.php system #900

Open mattpass opened 4 years ago

mattpass commented 4 years ago

Fundementally the updater.php system does work well but only if trivial user config settings change from version to version of ICEcoder. If however, there's significant changes such as moving where config, plugin, backup data is kept and the contents of those files, it doesn't work. There's also the fact that when updating, it uses the updater.php from the current version and not new version, so migrating any kind of changes is impossible to predict.

So the updater.php system is made dormant for now, until a better plan can be implemented.

Ideas may include:

mattpass commented 4 years ago

It's worth noting that the update shows a CSRF fail screen but has installed a fresh version of ICEcoder, as it fails to copy over any config files from old version to new so you simply get a new version.