-
Notifications
You must be signed in to change notification settings - Fork 119
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
basti/nativeMessaging #10196
base: main
Are you sure you want to change the base?
basti/nativeMessaging #10196
Conversation
|
||
#[cfg(target_os = "windows")] | ||
mod launcher { | ||
const CLIENT_PATH: &str = "C:\\Program Files\\Mozilla\\Mozilla VPN\\Mozilla VPN.exe"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any way it's ever installed to a different directory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we don't offer other ways of installation, no :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this, but I'd ask that another reviewer also look at this. I neither know rust nor this portion of the code base, so this is a very tentative approval.
Description
This PR "fixes" "the "bridge_pong" - the extension and client only expect that we pass json-objects through this impl, the native messaging part however expected a raw string. - This now gives nm the ability to handle commands similar to the client.
Then i add a start command that launches on windows the client. Feedback welcome if there is a "standard" way to that on linux os'es too.