saumya-banthia / tailscale-control

A Decky plugin to control Tailscale, while staying in Gaming mode.
BSD 3-Clause "New" or "Revised" License
56 stars 8 forks source link

Custom tailscale up command #13

Closed mgundelfinger closed 9 months ago

mgundelfinger commented 9 months ago

Hi! Thanks for creating this plugin, it's been really helpful and super easy to use!

I would like to add the --accept-routes option to my tailscale, and I can do so manually, in desktop mode, but i noticed in your code there is no regard for the options I manually added to my initial tailscale up command.

My idea would be to add a field in which we can add our own custom configuration, or simply a string of options that get appended to the tailscale up command.

What do you think?

spfanning commented 9 months ago

I would also like this feature for the --ssh option.

SaigyoujiYuyuko233 commented 9 months ago

maybe I can do it here: #12

mgundelfinger commented 9 months ago

maybe I can do it here: #12

That would be great! It would surely be a hassle to add a toggle for every single option, but adding a field for a completely custom config would be a great start.

SaigyoujiYuyuko233 commented 9 months ago

maybe I can do it here: #12

That would be great! It would surely be a hassle to add a toggle for every single option, but adding a field for a completely custom config would be a great start.

Preview is here: https://github.com/saumya-banthia/tailscale-control/pull/12#issuecomment-1911818408

mgundelfinger commented 9 months ago

Preview is here: https://github.com/saumya-banthia/tailscale-control/pull/12#issuecomment-1911818408

Sweet! Hope it gets merged soon!

saumya-banthia commented 9 months ago

Closing