-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allow any command-line for caddy excutable path to allow Flatpak compatibility #56
Comments
Fixes caddyserver#56 **Untested**, and as far as I see the `spawn` thing likely makes it impossible to use, i.e. it does not work as I want, does it? So just consider this as a first try/starter for you. (I have no experience in VS Code development.)
The one problem with your command is it does not use stdin, you might be able to run Regardless of the problem above, I don't really see how your PR (#57) will solve this, as the If I am reading the flatpak documentation correctly, |
Ah, I guess that's not a problem, that should work.
It has, because of a special permission.
No, not really in any easy way I know. Though wel… you could do it in |
Is your request related to a problem?
I install VSCodium as a Flatpak from Flathub. As such, the application is sandboxed, but it has the
flatpak-span --host
command that you can use to escape the sandbox.I'd like to do this, so I add this to
caddyfile.executable
:Yes in my example I use
podman
again on the host to check executecaddy
as a container, actually.Anyway, that does not matter and if I run the command on the host it also works:
Describe the solution you would like
What is preventing me is this error that checks whether that is a path, it should allow any CLI command, actually.
Describe any alternatives you have considered
N/A
Screenshots
N/A
Additional Context
This is the error that needs to be removed:
https://github.com/matthewpi/vscode-caddyfile-support/blob/c86bb3527a303ec2d65249c6e4af560979aca198/src/formatter.ts#L30
The text was updated successfully, but these errors were encountered: