Unvanquished / updater

QML based updater to install, update and launch the Unvanquished game.
https://unvanquished.net/download
15 stars 7 forks source link

Pass unv:// protocol args to unvanquished #32

Closed illwieckz closed 3 months ago

illwieckz commented 8 years ago

Hi, it could be awesome to be able to do that:

updater unv://server:port

So the updater launchs the game with that arg. With that functionality, it could be possible to use the updater binary path in an unvanquished.desktop file, so the unvanquished icon on player's desktop menu launches the updater instead of dæmon directly (so the player get news and updates before launching the game), and the protocol handler will works too.

With that, you only need one desktop file, the one who starts the updater. What do you think about it?

DolceTriade commented 8 years ago

I think that would probably be the final plan, but I don't think I'm ready to make the updater the launcher quite yet.

illwieckz commented 8 years ago

Another idea would be to make the updater (re)configure the unv:// handler when the binary is extracted or the path modified, or add an option in the menu to do activate/deactivate this handler.

DolceTriade commented 8 years ago

Currently, i believe the updater does do that. (If not, that's a bug. Also, it is possible that this doesn't work on OSX.

ghost commented 2 years ago

I think it works now, on some systems standard enough? Like, using gnome or KDE on mainstream, unmodified distros.

slipher commented 2 years ago

No. The installer creates protocol associations to daemon, not the updater.