Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit 41fcfa0

Browse files
committed
regular fixes
1 parent 7ae770a commit 41fcfa0

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

assets/fonts/TF2-Regular.ttf

31 KB
Binary file not shown.

assets/fonts/TF2.ttf

28 Bytes
Binary file not shown.

script/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ openMenu(event, 'home', false)
478478
fs.mkdirSync(path.join(app.getPath('userData'), '/downloads'));
479479
}
480480
downButton.onclick = function() {
481+
modal.style.display = 'block';
481482
buttonClick.play();
482483
const configDir = app.getPath('userData');
483484
let jsonData = require(configDir + '/games.json');
@@ -500,6 +501,7 @@ openMenu(event, 'home', false)
500501
let downStatus = document.createElement('div')
501502
downStatus.innerHTML = `
502503
<hr>
504+
<br>
503505
<h2>${store.name}</h2>
504506
`;
505507
let downProgress = document.createElement('p');
@@ -516,7 +518,6 @@ openMenu(event, 'home', false)
516518
cloneFiles: false,
517519
fileName: store.id,
518520
onProgress: function (percent, chunk, remain) {
519-
modal.style.display = 'block';
520521
downProgress.innerHTML = `<span>Now downloading ${store.name}.</span>&nbsp;${percent}% | ${formatBytes(remain)} left`;
521522
bar.value = percent;
522523
}

0 commit comments

Comments
 (0)