Skip to content

[Fix] DXVK-NVAPI installation #3347

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 4 commits into from
Dec 29, 2023
Merged

[Fix] DXVK-NVAPI installation #3347

merged 4 commits into from
Dec 29, 2023

Conversation

CommandMC
Copy link
Collaborator

DXVK-NVAPI wasn't installable due to the archive extraction directory not being created. While solving this, I've made some changes to hopefully make the whole install/update function more readable


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)

Variables were renamed to (hopefully) be clearer, Promises are awaited
instead of chaining them together with ".then", and the "echoCommand"
and "cleanCommand" were replaced with Node functions
Before, we told tar to extract into the tool's directory (not into the
final destination folder), and thus relied on the archive containing
a sub-directory with the name we were looking for. DXVK-NVAPI doesn't
do this, so we overwrote this behavior for it only.

Now, we create the destination folder and extract to it, and use the
`strip` parameter for tools that ship inside a sub-directory to remove
this directory.

This makes sure that the destination directory always exists, which
resolves issues installing DXVK-NVAPI.
@CommandMC CommandMC added the pr:testing This PR is in testing, don't merge. label Dec 23, 2023
@CommandMC CommandMC self-assigned this Dec 23, 2023
Copy link
Collaborator

@arielj arielj 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

@CommandMC CommandMC added pr:ready-to-merge This PR is fully ready for merge. and removed pr:testing This PR is in testing, don't merge. labels Dec 28, 2023
@Etaash-mathamsetty
Copy link
Member

looks good to me as well I'll rebase and merge

@Etaash-mathamsetty Etaash-mathamsetty merged commit a460b97 into main Dec 29, 2023
@Etaash-mathamsetty Etaash-mathamsetty deleted the fix/dxvk-nvapi branch December 29, 2023 01:29
@Heroic-Games-Launcher Heroic-Games-Launcher locked and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr:ready-to-merge This PR is fully ready for merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants