Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Version side by side installation #61

Merged
merged 9 commits into from Feb 20, 2020

Conversation

bitdisaster
Copy link
Collaborator

@bitdisaster bitdisaster commented Feb 19, 2020

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
  • F5 debugging using the harness script

@coveralls
Copy link

coveralls commented Feb 19, 2020

Coverage Status

Coverage increased (+0.6%) to 99.552% when pulling 19ec865 on version-side-by-side-installation into 3a1bcc6 on v3-feature-branch.

@bitdisaster bitdisaster force-pushed the version-side-by-side-installation branch from 6796ad4 to 1e2a72c Compare February 20, 2020 21:09
@bitdisaster bitdisaster force-pushed the version-side-by-side-installation branch from 1e2a72c to e80ca2f Compare February 20, 2020 21:24
@bitdisaster bitdisaster merged commit 7b4fabb into v3-feature-branch Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants