-
-
Notifications
You must be signed in to change notification settings - Fork 480
[Fix] GOG stuck progress on download + Add 7 new languages #1800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -83,18 +89,21 @@ Heroic is built with Web Technologies like: TypeScript, React, NodeJS and Electr | |||
- French | |||
- German | |||
- Greek | |||
- Japanese |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Japanese was translated but was missing on readme. While Romanian was here but it was not available to select.
@@ -343,6 +343,7 @@ function Settings() { | |||
defaultWinePrefix, | |||
disableController, | |||
discordRPC, | |||
downloadNoHttps, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a new fix in beta that I am adding here as well.
@@ -132,8 +132,8 @@ class GOGGame extends Game { | |||
const etaMatch = data.match(/ETA: (\d\d:\d\d:\d\d)/m) | |||
const bytesMatch = data.match(/Downloaded: (\S+) MiB/m) | |||
const progressMatch = data.match(/Progress: (\d+\.\d+) /m) | |||
if (etaMatch && bytesMatch && progressMatch) { | |||
const eta = etaMatch[1] | |||
if (bytesMatch && progressMatch) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the eta dependency just in case someone has a pretty slow connection to download a huge game.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Use the following Checklist if you have changed something on the Backend or Frontend: