-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support Flatpak installations #76
Comments
After some digging, there is a larger issue: |
Update:
|
marwan-at-work
added a commit
that referenced
this issue
Jun 28, 2023
We currently check for existence of the `tailscale` binary just for guessing at whether you have tailscale installed. However, we already show a similar message when tsrelay returns a NOT_RUNNING state. Furthermore, showing those pop ups on first install when we already have a walkthrough to show you how to install Tailscale is not a pleasant experience. Therefore, this PR removes the manual checks for the binary and switches the VSCode configuration to be for setting the unix socket Updates #76
marwan-at-work
added a commit
that referenced
this issue
Jun 28, 2023
This PR checks the env vars to see if we're running inside of flatpak, and if saw prepends the pkexec with flatpak-spawn in order rerun tsrelay as sudo. We also run `flatpak override` so the user doesn't have to. Fixes #76
tylersmalley
pushed a commit
that referenced
this issue
Jun 29, 2023
We currently check for existence of the `tailscale` binary just for guessing at whether you have tailscale installed. However, we already show a similar message when tsrelay returns a NOT_RUNNING state. Furthermore, showing those pop ups on first install when we already have a walkthrough to show you how to install Tailscale is not a pleasant experience. Therefore, this PR removes the manual checks for the binary and switches the VSCode configuration to be for setting the unix socket Updates #76 (cherry picked from commit cf36726)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To support Flatpak we'll need to run commands via
flatpak-spawn --host <command>
.For detection, the env variables
container=flatpak
andFLATPAK_ID=com.visualstudio.code
are set.I tested
flatpak-spawn --host pkexec tailscale status
, and it provided the visual password prompt and the command worked as expected.The text was updated successfully, but these errors were encountered: