Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Request]: Installing Runners/DLL Components via bottles-cli

Open Kagukara opened this issue 2 weeks ago • 0 comments

Tell us the problem or your need

When getting people to follow a guide I'm not always 100% they follow directions exactly, if only I could get them to run a commands which I know will do what I want. You can set up bottles via bottles-cli but why can't you also download the runners/dll components for the bottles via bottles-cli?

Describe the solution you'd like

For example, you could add a command to list all the Caffe Runners available to download, and a command to install caffe-9.7 from the list that was provided previously.

Below I've provided a small sample of what could be added for Runners.

When running bottles-cli runners -h you could be provided with, following the existing theme:

usage: bottles-cli runners [-h] [-ri] [-rl] [--install-runner RUNNER_VERSION]

options:
  -h,  --help                   Show this help message and exit
  -ri, --runners-installed      Show the installed Runners
  -rl, --runner-list            Show a list of Runners
  --install-runner              Install the Runner Version

When running bottles-cli runners -rl you could be provided with, following the existing theme:

usage: bottles-cli runners -rl RUNNER [-lv]

options:
  -lv, --list-versions            Show the available Runners for the selected type

available runners:
  Soda                            Based on Valve's Wine, includes Staging and Proton patches.
  Caffe                           Based on Wine upstream, includes Staging and Proton patches.
  Vaniglia                        Based on Wine upstream, includes Staging patches.
  Kron4ek                         Based on the most recent bleeding-edge Valve's Proton Experimental Wine, includes Staging and custom patches. This is meant to be used with non-steam games outside of Steam.
  Lutris                   
  Proton GE                       Based on the most recent bleeding-edge Valve's Proton Experimental Wine, includes Staging and custom patches. Requires the Steam Runtime turned on.

From the above two examples you can guess what bottles-cli runners -rl Caffe -lv would provide.

So to install caffe-9.7 you'd just have to run:

bottles-cli runners --install-runner caffe-9.7

This would also work for DLL Components as well.

Other solutions?

No response

Additional context and references

No response

Kagukara avatar Jun 19 '24 10:06 Kagukara