diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-02-04 05:59:12 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-02-04 06:04:16 +0100 |
commit | ba5fdf20df72d1920c53a4fcb2d490daf322239d (patch) | |
tree | 3c57dd50bf998543ef6bb36a870b3c6b98bf5503 | |
parent | a8dc72349bb668815532f8e9283a0ba3e4d94378 (diff) | |
download | pdf-simple-sign-ba5fdf20df72d1920c53a4fcb2d490daf322239d.tar.gz pdf-simple-sign-ba5fdf20df72d1920c53a4fcb2d490daf322239d.tar.xz pdf-simple-sign-ba5fdf20df72d1920c53a4fcb2d490daf322239d.zip |
README.adoc: fix and improve Go instructions
-rw-r--r-- | README.adoc | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/README.adoc b/README.adoc index 9e32e16..b6a9233 100644 --- a/README.adoc +++ b/README.adoc @@ -36,12 +36,25 @@ Runtime dependencies: libcrypto (OpenSSL 1.1 API) In addition to the C++ version, also included is a native Go port, which has enhanced PDF 1.5 support: - $ go get janouch.name/pdf-simple-sign/cmd/pdf-simple-sign +---- +$ go install janouch.name/pdf-simple-sign/cmd/pdf-simple-sign@master +---- -And a crude external VFS for Midnight Commander, that may be used to extract +and a crude external VFS for Midnight Commander, that may be used to extract all streams from a given PDF file: - $ go get janouch.name/pdf-simple-sign/cmd/extfs-pdf +---- +$ GOBIN=$HOME/.local/share/mc/extfs.d \ + go install janouch.name/pdf-simple-sign/cmd/extfs-pdf@master +---- + +To enable the VFS, edit your _~/.config/mc/mc.ext.ini_ to contain: + +---- +[pdf] +Type=^PDF +Open=%cd %p/pdf:// +---- Contributing and Support ------------------------ |