The PR introduces a new folder structure in the installation folder. That allows updating the App while running without corrupting the state of the installation until a reboot is made. The folder structure will organize the Apps program data into versioned subfolders. That is the same strategy as Squirrel.Windows employs. It will also allow us to introduce the Squirrel auto-updater in a follow-up PR.
C:\Program Files\
└─ MyApp
└─ app-4.0.0 //Latest or initially installed version
└─ app-4.1.0 //Updated version
└─ MyApp.exe //Stub Exe launches the latest version
features:
App version folder structure is generated automatically
Semantic versions can be passed in
Stub-executable is generated with correct file info attributes and icon
If not icon is provided then the icon of the original home is transferred to the stub (but with reduced quality)
also in this PR
updated Jest to make Wallaby work
a small simple demo app is included that allows to run harness
Coverage increased (+0.6%) to 99.552% when pulling 19ec865e7614cc1c81b4374335260ffb9e6bf602 on version-side-by-side-installation into 3a1bcc6fd863e02d11c177a26cd2edaec3b5be49 on v3-feature-branch.
The PR introduces a new folder structure in the installation folder. That allows updating the App while running without corrupting the state of the installation until a reboot is made. The folder structure will organize the Apps program data into versioned subfolders. That is the same strategy as Squirrel.Windows employs. It will also allow us to introduce the Squirrel auto-updater in a follow-up PR.
features:
also in this PR