Skip to content

Commit

Permalink
feat: updater system has been completely rewritten from scratch with …
Browse files Browse the repository at this point in the history
…the ability to manually install a new update without letting Leapp install it on your behalf. If someone prefers to stick to a specific version, it can be done, by using the "remind me later" button, which mute update notifications until the next release.

chore: added communication between electron and angular to pass update information

chore: added update dialog modal, added update dialog open method in app service

chore: made code more adherent to feature document by creating a method to set the update info variables in  app service

refactor: openUpdateDialog to be called without external dependencies, so it can be called also by tray component without additional intervention

chore: added correct methods for checking versions and version management in app.service.ts, commencing smoke test

chore: added setInterval to main.ts for polling mechanism

chore: added setInterval to main.ts for polling mechanism

chore: skinned update modal

chore: changed file to hidden one and added another try catch to also manage corrupted file and not only a missing one

chore: visual update of tray icon is done every time now if update is available

chore: modified .gitignore

chore: migrated update logic to updater.service.ts

chore: added semaphore that prevents update modal from being toggled

chore: changed polling time from 1 minute to 10 minutes and modified version to 0.5.3, ready for deployment
  • Loading branch information
urz9999 authored and ericvilla committed May 11, 2021
1 parent 4fa59e4 commit 8e755e1
Show file tree
Hide file tree
Showing 49 changed files with 498 additions and 724 deletions.
26 changes: 14 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc
/release
dist
tmp
out-tsc
release

# Only exists if Bazel was run
/bazel-out
bazel-out

# dependencies
/node_modules
node_modules

# profiling files
chrome-profiler-events.json
speed-measure-plugin.json

# IDEs and editors
/.idea
.idea
.project
.classpath
.c9/
Expand All @@ -33,14 +34,14 @@ speed-measure-plugin.json
.history/*

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
.sass-cache
connect.lock
coverage
libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
typings

# System Files
.DS_Store
Expand All @@ -51,3 +52,4 @@ windows.pfx

package-lock.json

electron/dist
9 changes: 0 additions & 9 deletions CHANGELOG.md

This file was deleted.

5 changes: 5 additions & 0 deletions dev-app-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
owner: Noovolari
repo: leapp
provider: github
releaseType: release
updaterCacheDirName: leapp-updater
Binary file removed electron/dist/electron/assets/images/Leapp.icns
Binary file not shown.
Binary file removed electron/dist/electron/assets/images/Leapp.ico
Binary file not shown.
Binary file removed electron/dist/electron/assets/images/Leapp.png
Binary file not shown.
231 changes: 0 additions & 231 deletions electron/dist/electron/main.js

This file was deleted.

1 change: 0 additions & 1 deletion electron/dist/electron/main.js.map

This file was deleted.

Loading

0 comments on commit 8e755e1

Please sign in to comment.