Skip to content
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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

basti/nativeMessaging #10196

wants to merge 8 commits into from

Conversation

strseb
Copy link
Collaborator

@strseb strseb commented Jan 16, 2025

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.

@strseb strseb requested review from oskirby and mcleinman January 20, 2025 13:00

#[cfg(target_os = "windows")]
mod launcher {
const CLIENT_PATH: &str = "C:\\Program Files\\Mozilla\\Mozilla VPN\\Mozilla VPN.exe";
Copy link
Collaborator

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?

Copy link
Collaborator Author

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 :)

Copy link
Collaborator

@mcleinman mcleinman left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants