-
Notifications
You must be signed in to change notification settings - Fork 192
feat: make linux setup script take args for various automation projects #817
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
feat: make linux setup script take args for various automation projects #817
Conversation
|
A bit crude but if it works for you then that's fine.
|
|
@FakeMichau good catch with the Enter press skip. Added a help arg and skip "Press Enter to exit" if any args passed. If you feel the current approach overall is a bit clunky though, I am open to alternatives. |
FakeMichau
left a comment
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.
Could you add the help and enter skip to the uninstaller as well?
|
@FakeMichau done |
|
Will need to be picked up by the v0.9 branch at some point |
Adding the ability to pass in some args to the
linux_setup.shscript to better facilitate various projects that attempt to automate OptiScaler installation (Decky Framegen, Goverlay, ProtonPlus etc).Currently, each program needs its own logic or bespoke installation and removal scripting, but if this is built into the upstream script, then these programs can just worry about getting all the opti files into the correct dir in the game, then run something like:
./setup_linux.sh --filename=dxgi.dll --overwrite=y --using_nvidia=n --using_dlss=yWhich greatly simplifies Opti integration in a variety of linux tools.