Skip to content

Commit bf4e913

Browse files
author
Sami Vänttinen
authored
Merge pull request #12 from ermshiperete/master
Update readme
2 parents bd10966 + 18cd2a1 commit bf4e913

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,33 @@ See [this page](https://developer.chrome.com/extensions/nativeMessaging) for fur
77
keepassxc-proxy listens stdin from keepassxc-browser extension and transfers the data to Unix domain socket `XDG_RUNTIME_DIR` or `/tmp/org.keepassxc.KeePassXC.BrowserServer` which KeePassXC listens.
88
With Windows this is a named pipe under `org.keepassxc.KeePassXC.BrowserServer\<username>`.
99

10+
11+
## Building
12+
13+
The proxy can be built with:
14+
15+
```bash
16+
cargo build --release
17+
```
18+
19+
### Static library
20+
21+
To build a binary without dependencies (which is useful for running
22+
inside of a flatpak), you'll have to install MUSL libc first:
23+
24+
```bash
25+
rustup target add x86_64-unknown-linux-musl
26+
```
27+
28+
Then build with
29+
30+
```bash
31+
RUSTFLAGS='-C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl
32+
```
33+
34+
(see [Stackoverflow](https://stackoverflow.com/a/59766875/487503))
35+
## Copyright
36+
1037
```
1138
Copyright (C) 2017-2021 Sami Vänttinen <[email protected]>
1239
Copyright (C) 2017-2018 Andy Brandt <[email protected]>

0 commit comments

Comments
 (0)