-
• #2
maybe this conversation gives you an idea for you code
http://forum.espruino.com/conversations/351636/#comment15470464
-
• #3
Yes, that should be correct. I made some changes recently to make sure that's what happened with
data
files.I guess the only issue you have is if you're sharing one file between multiple apps (as I think you are?) deleting just one app would end up deleting the file.
-
• #4
Yes I am sharing waypoints.json with other Apps but they are not installed. However I did not specify that the file was data and now realise this is what I need to do. Another check in at some point then :)
-
• #5
However I did not specify that the file was data and now realise this is what I need to do
I may have actually updated apps.json for you already? I can't remember...
Could I check if I specify a json file in apps.json that the file will not be overwritten when updating to the latest version of the app - but would be created if it does not exist and removed on an uninstall ?