From 44601706cd9f1632dd16a6d4ef0512721e4d7ee5 Mon Sep 17 00:00:00 2001 From: Vikas Date: Mon, 3 Jun 2024 00:52:17 +0530 Subject: [PATCH] Add shortcut to download binary --- readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/readme.md b/readme.md index 7729882..bda115a 100644 --- a/readme.md +++ b/readme.md @@ -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: