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

idea: command line switch for headless update #14

Open
illwieckz opened this issue Jul 9, 2017 · 4 comments

Comments

@illwieckz
Copy link
Member

commented Jul 9, 2017

For server owners, would be cool to be able to do:

./updater --no-gui --install-path=/some/where

I don't know yet if --no-gui would just check for update and download things or must it run the game at the end too. In the later case, perhaps add a --no-run option, to let server owners having one install for multiple servers being sure they keep full control of what they do.

The --install-path would be optional. Once the config file is written, the install path would be reused like in gui mode. Wa can also add a --no-conf switch to not write the config file, it would be useful for benchmarking software, allowing them to install unvanquished for benchmarking purpose without having to mess with user data path (Let's make phoronix benchmarking us again).

Edit: the --install-path would be optionally usable by game managers like lutris or things like that, so it would be cool to have it doing things on gui mode too.

@DolceTriade

This comment has been minimized.

Copy link
Member

commented Sep 10, 2017

I feel like this is overkill for such a task. We have ./download_pk3_torrent.sh and such that accomplish the same thing. If we want to do headless, we should ship a static aria2c binary with a batch/shell script instead.

@illwieckz

This comment has been minimized.

Copy link
Member Author

commented Sep 3, 2019

Static aria2c binary is not a bad idea but it's yet another project to maintain, debug, etc.

@illwieckz

This comment has been minimized.

Copy link
Member Author

commented Sep 3, 2019

For testing and debugging purpose I would like to have those options even in graphical mode: --no-config-write, --auto-download, --start-after-download (see #48), --download-only, that's while a --no-gui option or a stripped-down build, console only variant may be a good idea.

@DolceTriade

This comment has been minimized.

Copy link
Member

commented Sep 3, 2019

We also probably don't want to require QT for such a build, hence the bash script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.