aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-02-04 05:59:12 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-02-04 06:04:16 +0100
commitba5fdf20df72d1920c53a4fcb2d490daf322239d (patch)
tree3c57dd50bf998543ef6bb36a870b3c6b98bf5503
parenta8dc72349bb668815532f8e9283a0ba3e4d94378 (diff)
downloadpdf-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.adoc19
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
------------------------