Skip to content

Commit

Permalink
docs: add badges to README, add link to FileTypeExt
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Marttinen <[email protected]>
  • Loading branch information
twelho committed Jan 30, 2024
1 parent 142bf08 commit 0d7f478
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# nm-proxy

[![Build](https://github.com/twelho/nm-proxy/actions/workflows/build.yaml/badge.svg)](https://github.com/twelho/nm-proxy/actions/workflows/build.yaml)
[![dependency status](https://deps.rs/repo/github/twelho/nm-proxy/status.svg)](https://deps.rs/repo/github/twelho/nm-proxy)

[Native messaging](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging) proxy for Flatpak'ed browsers. Temporary solution until https://github.com/flatpak/xdg-desktop-portal/issues/655 gets resolved, potentially by https://github.com/flatpak/xdg-desktop-portal/pull/705.

## Architecture
Expand Down
1 change: 1 addition & 0 deletions src/client/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ async fn find_socket() -> Result<String> {
// TODO: is_socket() does not work in Flatpak, bug in Rust? Debug information:
// Inside Flatpak: FileType(FileType { mode: 32768 })
// On host system: FileType(FileType { mode: 49152 })
// https://github.com/rust-lang/rust/issues/27796

// Pick the first file with a matching name, testing for sockets
// with is_socket() does not work in a Flatpak for some reason
Expand Down

0 comments on commit 0d7f478

Please sign in to comment.