NelloKudo / osu-winello

osu! stable installer for Linux with patched Proton-osu and other nice features 8)
GNU General Public License v3.0
301 stars 13 forks source link

Add devserver option #2

Closed fleap-dev closed 2 years ago

fleap-dev commented 2 years ago

Add a --devserver option to easily connect to private servers: osu-wine --devserver server.com

Another solution would be something like: osu-wine -- -devserver server.com

NelloKudo commented 2 years ago

Oh well time to merge this e.e

I've been thinking of a way to actually implement this feature without having to edit ~/.local/bin/osu-wine to make some server default and not having to use --devserver everytime... I guess I'll just ask when launching the game the first time using --devserver and then make the script change it accordingly or well use different functions xD

For the time being I'll use this :eyes:

fleap-dev commented 2 years ago

This way you can create .desktop files for each server. But maybe a environment variable or a config file can make it persistent (but also make the script more complex). Depends on the way you prefer to open private servers 🤔