Add shortcut to download binary

This commit is contained in:
Vikas
2024-06-03 00:52:17 +05:30
parent 9767b4b25d
commit 44601706cd

View File

@@ -27,6 +27,13 @@ The binary will be created in the `bin/` directory. If you are downloading the
chmod +x pastepass-linux-amd64
```
Here is a shortcut to download the binary for your platform:
```bash
curl -L "https://github.com/v1k45/pastepass/releases/latest/download/pastepass-$(uname | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/amd64/; s/i[3-6]86/386/; s/aarch64/arm64/; s/armv7l/arm/')" -o pastepass
chmod +x pastepass
```
#### Run
Run with default options: