Added key -l to rsync SwapScript strategy, why? As you know nwjs starting from 0.22.0 uses relative symlinks inside package. So we need copy them (if applicable) properly:
$ man rsync
-l, --links copy symlinks as symlinks
Better to create different backups for every update to distinguish them.
Added cleanUp() method to solve Mac OS bug, which hangs forever as installing....
Now update process works like a charm on Mac OS.
I see another float bug w/ Mac OS, but not critical, it is regarding consequent two updates, which prevents run for final build, though you can do it manually without any issues or any backup build as well (symlinks are correct).
Hi Dmitry,
I prepared new PR.
-l
to rsync SwapScript strategy, why? As you know nwjs starting from 0.22.0 uses relative symlinks inside package. So we need copy them (if applicable) properly:cleanUp()
method to solve Mac OS bug, which hangs forever asinstalling...
.Now update process works like a charm on Mac OS. I see another float bug w/ Mac OS, but not critical, it is regarding consequent two updates, which prevents run for final build, though you can do it manually without any issues or any backup build as well (symlinks are correct).