Skip to content

Commit

Permalink
version 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-nyt committed Nov 20, 2020
1 parent 7a6cbfb commit 218b8ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
display: isUpdating ? 'block' : 'none'
}"
>
<h3>{{ updateData.downloadPercentage }}%</h3>
<h3>{{ updateData.downloadPercentage + "%" || "UPDATING" }}</h3>
<div
class="updatingBar"
[ngStyle]="{
Expand Down
5 changes: 4 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export class AppComponent {
});

ipcRenderer.on('download_progress', (event, arg) => {
this.updateData = arg;
zone.run(() => {
this.updateData = arg;
console.log(arg);
});
});

ipcRenderer.on('update_downloaded', () => {
Expand Down

0 comments on commit 218b8ae

Please sign in to comment.