Bug #642
closedAutomatic update of config.xml needed when new version installed
0%
Description
'config.xml' file now stored in the user's home directory. We need Morpho to
automatically update this file when a new version of Morpho is installed.
(Perhaps replace when the version number changes?)
Updated by Matt Jones about 22 years ago
Definitely needed. Reassigning to jones.
Updated by Matt Jones about 22 years ago
Finished code to automatically upgrade the config.xml file for users. Now,
when you update the morpho version, you must do so in two places (the
lib/config.xml file, and the Morpho.java VERSION field). At runtime, these
two fields are compared and, if they don't match, the existing config.xml
is saved as a backup and the new one from the jar file is copied to the
user's config directory. If the user has made changes to the config.xml file,
they will need to remake those changes in the new copy that is now in their
configDir.