Skip to content
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

[Tech] Refactor Extraction methods #3181

Merged
merged 14 commits into from
Nov 3, 2023
Merged

Conversation

flavioislima
Copy link
Member

@flavioislima flavioislima commented Nov 1, 2023

This PR removes the need to use system tar commands for extracting tools like dxvk, wine, proton, etc.
This way Heroic does not depend on the availability of these tools on the system, especially on Snaps which does not support tar.xz by default.
It also opens the possibility of supporting ZSTD files natively if we want to, we just need to install the plugin for this in case we need it: https://www.npmjs.com/package/@xingrz/decompress-tarzst


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 1, 2023
@flavioislima flavioislima mentioned this pull request Nov 1, 2023
12 tasks
@flavioislima flavioislima merged commit ad2fac9 into main Nov 3, 2023
13 checks passed
@flavioislima flavioislima deleted the refactor/tools_extract branch November 3, 2023 11:19
flavioislima added a commit that referenced this pull request Mar 31, 2024
flavioislima added a commit that referenced this pull request Aug 9, 2024
* [Revert] Refactor Extraction methods #3181

* Tech/upstream electron (#3664)

* chore: yarn.lock

* [TECH] Revert Electron to Upstream

* chore: Remove unused import in main.ts

---------

Co-authored-by: Flavio F Lima <[email protected]>

* chore: pnpm-lock

* fix: codecheck

* tests: remove unused packages

* chore: remove mock for decompress in compatibility_layers.test.ts

* chore: pr comments

* Consolidate tar file extraction into one function again (#3909)

---------

Co-authored-by: Flavio F Lima <[email protected]>
Co-authored-by: Mathis Dröge <[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
Development

Successfully merging this pull request may close these issues.

2 participants