Installation and deleted files

27 December 2015 22:31 #6104
Is there a better way to install the newest update to Blend4web? I just downloaded the B4W SDK and unzipped it and replaced the files and folders in the 'blend4web_sdk_free' folder. However, I am using a Mac and unlike Windows, selecting 'replace existing files and folders' does not leave the personal newly created files under the Blender folder (.blend files, audio files, texture files, etc) and the 'app' folder untouched, but rather permanently deletes and replaces all folders/files with the B4W zipped content . To recover the personal project files was difficult and costly. Other than removing these files before unzipping, is there a better way to 'install' the upgrade?

Thanks for all your help,
28 December 2015 05:41 #6110
I actually was going to ask this very same question, as I also need to update to B4W 15.12 …on 5 different Macs! (Including work machines.)

I wish there were a way to either keep all user-created content outside of the SDK, or have an auto-update feature that would replace old B4W source files with new ones.

I name all my projects starting with "project_" so I can identify the ones made by me. But I think some files reside outside of the project folders. Some user-created files such as /deploy/apps/viewer/assets.json reside outside of the project folders. I don't have a good understanding of the structure of the SDK yet, so I'm concerned that I may miss something.

One other idea I had was to use Finder's Labels (OS X 10.8 and earlier) or Tags (OS X 10.9 and later) to mark all files and folders I know were created by me. Then make a duplicate copy of the entire SDK folder in some other location. Remove the old version of Blend4Web, and install the newest one. After that, copy back the marked files residing in the old version's SDK into the new version's SDK. One downside is that forgetting to mark an item means it won't get copied over.

These are the best ideas I've come up with, but I'm hoping there is a better way.
Please register or log in to leave a reply.