-
Notifications
You must be signed in to change notification settings - Fork 49
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
Update DXVK (fix OS detection, add new versions) #1039
Conversation
Trying to ask the user if they want to continue.
I'm probably wrong but this is what @ImperatorS79 meant with the big if else instruction.
I meant
|
reverting e683104
Made this chart: |
If yes, you install dxvk, if no, you skip dxvk but still install the app. |
Thats not what the chart says. |
But that is what I asked previously ^^. |
That is more confusing. |
If you only want to skip the installation of the DXVK verb you can also call |
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.
Can you check if there are other scripts with the same issue?
Removed a confusing part of the script, thanks for the heads up @plata
We still need someone with Mac os to test if this script will work as intended (pressing yes skips this verb but keep the installation of other verbs and the game itself, pressing no quits everything) |
Using constants instead of variables in beans declaration.
@qparis can you test on Mac OS as requested by @Zemogiter? |
Added new DXVK versions.
Blocked until PhoenicisOrg/phoenicis#2067 is merged |
There is a problem. The script adds an additional
I suspect its because of |
The approach is wrong. The script assumes that the download URL is formed in a certain way based on the release version. It would be better to return the complete json and then use |
So how do we need to modify |
see #1148 |
Blocked until #1148 is fixed. |
Using an array
Script update in accord to PhoenicisOrg#1154
For some reason the script adds an |
Fix for the issue mentioned in my last comment.
); | ||
if (operatingSystemFetcher.fetchCurrentOperationSystem().getFullName() !== "Linux") | ||
{ | ||
const question = tr("DXVK is currently unsupported on non-Linux operating systems due to MoltenVK implementation being incomplete. Select how do you want to approach this situation.") |
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.
I still believe that this decision is too complicated for many users.
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.
And I still thing otherwise.
Now I'm getting this error. Happens before version list shows up:
|
Now the big question: Is the script working? :) |
Yes 😄 |
@madoar you should merge directly. @Zemogiter doesn't have permission to do so. |
* Update script.js * Replaced version list with getGithubReleases function. * Code cleanup
Description
Needs confirmation from someone with a MacOS machine that this script will work as intended.
What works
Everything
What was not tested
Trying to execute a script that installs a game that requires DXVK on a MacOS machine. The script should either skip DXVK installation and go with other verbs (if they are) and install the game or shut down the instalation entirely.
Test
CPU: i7-7700K
GPU: GTX1080 ti
Ready for review
json-align
andeslint
run according to the documentation.