From ba5fdf20df72d1920c53a4fcb2d490daf322239d Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sun, 4 Feb 2024 05:59:12 +0100 Subject: README.adoc: fix and improve Go instructions --- README.adoc | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'README.adoc') 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 ------------------------ -- cgit v1.2.3-70-g09d2