Skip to content

[Fix] Beta 3 Fixes + some small improvements #2079

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 36 commits into from
Nov 28, 2022
Merged

[Fix] Beta 3 Fixes + some small improvements #2079

merged 36 commits into from
Nov 28, 2022

Conversation

flavioislima
Copy link
Member

@flavioislima flavioislima commented Nov 27, 2022

A few QOL improvements

  • Heroic will list Origin games but will show a warning and the install button will be disabled:

image

  • Not available games will have a different effect on the game card and a warning message on both GameCard and GamePage. Clicking on play will ask if the user wants to uninstall it:

image

Fixes

  • [macOS] Fix: Launching a windows sideloaded game
  • [macOS] Fix: proper get save path for windows games
  • [macOS] Fix: native GOG games failing to install
  • [Linux] Wine manager should show a Refresh button when the list is empty
  • Fix Sideloaded GameCards showing the install button instead of Play
  • Fix the game card status not changing after importing the game
  • Fix some settings appearing on the wrong platform
  • Fix the platform not being passed when importing Epic Games
  • Fix the Linear Progress color on the Downloads Manager
  • Fix hiding a game not reloading the library

Other

  • Refactor Winetricks download to use Axios instead of CURL, since it is a plain text
  • Removed AudioFix setting

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)

@flavioislima flavioislima added the pr:ready-for-review Feature-complete, ready for the grind! :P label Nov 27, 2022
@redromnon
Copy link
Collaborator

Fix some settings appearing on the wrong platform

As already mentioned in Discord, the Sideload games feature still shows Wine options for Linux platform games.

@redromnon
Copy link
Collaborator

Also once a game is uninstalled, it shows "not available" which it shouldn't. Just uninstalled one now and I see this.

Uninstalled_game_not_available

@flavioislima
Copy link
Member Author

Fix some settings appearing on the wrong platform

As already mentioned in Discord, the Sideload games feature still shows Wine options for Linux platform games.

totally forgot about that, fixed now.

@flavioislima
Copy link
Member Author

Also once a game is uninstalled, it shows "not available" which it shouldn't. Just uninstalled one now and I see this.

Uninstalled_game_not_available

fixed

@flavioislima flavioislima changed the base branch from beta to main November 28, 2022 18:08
@flavioislima flavioislima changed the base branch from main to beta November 28, 2022 18:09
@flavioislima flavioislima merged commit 2af90df into beta Nov 28, 2022
@flavioislima flavioislima deleted the fix/250b3 branch November 28, 2022 18:15
flavioislima added a commit that referenced this pull request Nov 29, 2022
* [i18n] Updated Translations (#2076)

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Translated using Weblate (French)

Currently translated at 100.0% (401 of 401 strings)

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: John Donne <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/fr/
Translation: Heroic Games Launcher/GamePage
Translation: Heroic Games Launcher/Globals

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: Heroic Games Launcher/Globals
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/

Co-authored-by: John Donne <[email protected]>

* [Fix] Beta 3 Fixes + some small improvements (#2079)

* fix: hide wine options on macOS

* fix: playing status not changing correctly

* fix: download progress color

* fix: wine-manager reload button

* fix: launch win sideloaded games on macOS

* fix: isGameAvailable for sideloaded games

* fix: dont show wine tools on windows and mac

* feat: game not available status

* feat: improved not available check on game page

* i18n: updated keys

* fix: dont show update button when not available

* fix: gamecard not available classes

* fix: getInstallInfo error when json parse fails

* other: fade in card animation

* chore: heroic version hover

* fix: reload gamecard on status changes

* fix: proper pass platform when importing epic games

* i18n: updated keys

* fix: compute saves path for windows games on macOS

* fix: gamecard status not updating after import

* feat: proper show not supported games

* fix: codecheck

* fix: Hiding a game doesn't remove it from the list unless re-rendered #2078

* fix: showing as not available after uninstall

* fix: typo

* fix: hide runexe for native games on sideload

* fix: hide wine options for native games

* fix: show refreshing icon when refreshing library

* fix: pr comments

* chore: renamed import

* fix: remove install info for unsuported games

* fix: dont fetch changelog if already saw it

* fix: installing native macOS games for GOG

* chore: removed audioFix settings and component

* [Revert] Revert #2075 (#2090)

* chore: updated version

* chore: readme update

* fix: GameList Header columns

* fix: uninstalled status on game list

* fix: platform filter on macOS

* chore: accurate macOS info

* fix: gog error message when apiData is null

* [Other] Update icons with better quality ones  (#2096)

* other: updated tray icons and added OS logic

* chore: log

* [i18n] Updated Translations (#2088)

* Translated using Weblate (Swedish)

Currently translated at 100.0% (402 of 402 strings)

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: dpanter <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/sv/
Translation: Heroic Games Launcher/GamePage
Translation: Heroic Games Launcher/Globals

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: Heroic Games Launcher/Globals
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/

Co-authored-by: dpanter <[email protected]>

Co-authored-by: Weblate (bot) <[email protected]>
Co-authored-by: John Donne <[email protected]>
Co-authored-by: dpanter <[email protected]>
flavioislima added a commit that referenced this pull request Jan 23, 2023
* [i18n] Updated Translations (#2076)

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Translated using Weblate (French)

Currently translated at 100.0% (401 of 401 strings)

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: John Donne <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/fr/
Translation: Heroic Games Launcher/GamePage
Translation: Heroic Games Launcher/Globals

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: Heroic Games Launcher/Globals
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/

Co-authored-by: John Donne <[email protected]>

* [Fix] Beta 3 Fixes + some small improvements (#2079)

* fix: hide wine options on macOS

* fix: playing status not changing correctly

* fix: download progress color

* fix: wine-manager reload button

* fix: launch win sideloaded games on macOS

* fix: isGameAvailable for sideloaded games

* fix: dont show wine tools on windows and mac

* feat: game not available status

* feat: improved not available check on game page

* i18n: updated keys

* fix: dont show update button when not available

* fix: gamecard not available classes

* fix: getInstallInfo error when json parse fails

* other: fade in card animation

* chore: heroic version hover

* fix: reload gamecard on status changes

* fix: proper pass platform when importing epic games

* i18n: updated keys

* fix: compute saves path for windows games on macOS

* fix: gamecard status not updating after import

* feat: proper show not supported games

* fix: codecheck

* fix: Hiding a game doesn't remove it from the list unless re-rendered #2078

* fix: showing as not available after uninstall

* fix: typo

* fix: hide runexe for native games on sideload

* fix: hide wine options for native games

* fix: show refreshing icon when refreshing library

* fix: pr comments

* chore: renamed import

* fix: remove install info for unsuported games

* fix: dont fetch changelog if already saw it

* fix: installing native macOS games for GOG

* chore: removed audioFix settings and component

* [Revert] Revert #2075 (#2090)

* chore: updated version

* chore: readme update

* fix: GameList Header columns

* fix: uninstalled status on game list

* fix: platform filter on macOS

* chore: accurate macOS info

* fix: gog error message when apiData is null

* [Other] Update icons with better quality ones  (#2096)

* other: updated tray icons and added OS logic

* chore: log

* [i18n] Updated Translations (#2088)

* Translated using Weblate (Swedish)

Currently translated at 100.0% (402 of 402 strings)

Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Co-authored-by: dpanter <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/sv/
Translation: Heroic Games Launcher/GamePage
Translation: Heroic Games Launcher/Globals

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Co-authored-by: Hosted Weblate <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/gamepage/
Translation: Heroic Games Launcher/GamePage

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

Translation: Heroic Games Launcher/Globals
Translate-URL: https://hosted.weblate.org/projects/heroic-games-launcher/globals/

Co-authored-by: dpanter <[email protected]>

* [Feature/Wine] Add DXVK Framerate Limit Toggle (#2068)

* [Feature] Add DXVK FPS Limit toggle

Checkbox to enable/disable DXVK FPS and a text field to input enter FPS cap value

* Run prettier

* Fix function not used error

* Show for macOS Crossover and Linux Wine games

* Add !nativeGame

* Add ts-prune

* yarn i18n

* Merge clean up

* Remove clearFinished

* Merge fixes

* yarn i18n

* Review suggestions

* Only uncomment moveInstall

* Debug workflow

* Remove debug

* Debug workflow

* Remove debug

* Dont export ProtonVerb

* prettier-fix

* Remove moveInstall for sideload apps

* Add find-deadcode to linter workflow

* review fixes

Co-authored-by: Weblate (bot) <[email protected]>
Co-authored-by: John Donne <[email protected]>
Co-authored-by: Flávio F Lima <[email protected]>
Co-authored-by: dpanter <[email protected]>
Co-authored-by: Rishabh Moharir <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:ready-for-review Feature-complete, ready for the grind! :P
Projects
None yet
3 participants