Skip to content

[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

Merged
merged 6 commits into from
Sep 10, 2022

Conversation

flavioislima
Copy link
Member

@flavioislima flavioislima commented Sep 10, 2022


Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

@@ -83,18 +89,21 @@ Heroic is built with Web Technologies like: TypeScript, React, NodeJS and Electr
- French
- German
- Greek
- Japanese
Copy link
Member Author

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,
Copy link
Member Author

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) {
Copy link
Member Author

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.

Copy link
Member

@imLinguin imLinguin left a 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

@flavioislima flavioislima merged commit 8f7f01a into main Sep 10, 2022
@flavioislima flavioislima deleted the fix/gog_eta branch September 10, 2022 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants