Skip to content

Commit

Permalink
hopeful fix for removing bugged game downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazcash committed Sep 7, 2022
1 parent 191b172 commit a958dc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/content/game-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class GameContentAPI extends AbstractContentAPI {
console.error(data.toString());
});

prDownloaderProcess.on("close", async () => {
prDownloaderProcess.on("exit", async () => {
if (downloadInfo) {
if (!this.installedVersions.includes(downloadInfo.name)) {
this.installedVersions.push(downloadInfo.name);
Expand Down
3 changes: 2 additions & 1 deletion src/components/navbar/DownloadsButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ const downloadPercent = computed(() => {
position: relative;
&:before {
@extend .fullsize;
width: calc(100% - 2px);
top: 0;
left: 0;
left: 1px;
z-index: -1;
background: radial-gradient(ellipse at top, hsla(69, 100%, 50%, 0.685), transparent), radial-gradient(ellipse at bottom, #2c4e05c7, transparent);
background-repeat: no-repeat;
Expand Down

0 comments on commit a958dc9

Please sign in to comment.