diff --git a/README.md b/README.md index 7ffd458..bdb6355 100644 --- a/README.md +++ b/README.md @@ -65,16 +65,11 @@ cd clip-vault ``` This copies the package into `~/.local/share/clip-vault`, drops `clip-vault` -and `clip-vault-daemon` wrappers into `~/.local/bin`, and adds an autostart +and `clip-vault-daemon` wrappers into `~/.local/bin` (both wrappers set +`PYTHONPATH` themselves, so they work from any shell), and adds an autostart entry so the daemon starts with your session. -One rough edge worth knowing: the two wrapper scripts do **not** set -`PYTHONPATH` themselves, so running them by hand from a fresh shell needs it -exported first. The autostart entry sets it for you, so this only affects -manual runs. - ```bash -export PYTHONPATH="$HOME/.local/share/clip-vault:$PYTHONPATH" clip-vault-daemon & ``` diff --git a/clip-vault/install.sh b/clip-vault/install.sh index 01629db..019419b 100755 --- a/clip-vault/install.sh +++ b/clip-vault/install.sh @@ -12,13 +12,13 @@ cp "$sourceDir/config.default.json" "$installDir/config.default.json" cat > "$binDir/clip-vault" < "$binDir/clip-vault-daemon" < "$autostartDir/clip-vault.desktop" <