Added progress bar to file downloads

Added two new API calls, to update the server to a particular version and to get the updater status

You can now update through the UI, and a status dialog displays after
This commit is contained in:
Isaac Grynsztein
2020-04-02 21:53:08 -04:00
parent 458e4b45f8
commit c36867d368
17 changed files with 345 additions and 40 deletions

View File

@@ -1,5 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { PostsService } from 'app/posts.services';
import { CURRENT_VERSION } from 'app/consts';
@Component({
selector: 'app-about-dialog',
@@ -14,7 +15,7 @@ export class AboutDialogComponent implements OnInit {
latestGithubRelease = null;
checking_for_updates = true;
current_version_tag = 'v3.5.1';
current_version_tag = CURRENT_VERSION;
constructor(private postsService: PostsService) { }