summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGab Virebent <gabriel1@virebent.art>2026-07-12 19:48:39 +0200
committerGab Virebent <gabriel1@virebent.art>2026-07-12 19:48:39 +0200
commit3118535a15c4e10b01a5a2c77e90bf3bf5840954 (patch)
tree88466ce7185f2dd047406ccad26041383825ebab /scripts
parentfbd064eb06f93652925e4b4f0061408d41024021 (diff)
downloadnymdrop-3118535a15c4e10b01a5a2c77e90bf3bf5840954.tar.gz
nymdrop-3118535a15c4e10b01a5a2c77e90bf3bf5840954.tar.xz
nymdrop-3118535a15c4e10b01a5a2c77e90bf3bf5840954.zip
Add Fyne GUI and portable --data-dir mode to nymdrop-reader
Extract reader logic (key management, embedded nym-client lifecycle, receive loop, decrypt, save) into internal/reader as a Hooks-driven package, shared by both the existing headless CLI and a new --gui mode built with Fyne. Add --data-dir to make a reader instance fully self-contained: privkey, inbox, and the embedded nym-client's own state (normally fixed to $HOME/.nym) all live under the given directory via a HOME override on the subprocess, enabling zero-trace USB operation. CLI default behavior is unchanged (same paths, same protocol) so the pietro deployment is unaffected.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/fetch-nym-binaries.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fetch-nym-binaries.sh b/scripts/fetch-nym-binaries.sh
index ff8f7b6..8876698 100755
--- a/scripts/fetch-nym-binaries.sh
+++ b/scripts/fetch-nym-binaries.sh
@@ -9,7 +9,7 @@ VERSION="v1.1.76"
URL="https://github.com/nymtech/nym/releases/download/nym-binaries-${VERSION}/nym-client"
DEST_DIRS=(
"cmd/nymdrop/bin"
- "cmd/nymdrop-reader/bin"
+ "internal/reader/bin"
)
root="$(cd "$(dirname "$0")/.." && pwd)"