Skip to content

Instantly share code, notes, and snippets.

@insekticid
Created October 16, 2017 12:22
Show Gist options
  • Save insekticid/e772d2ca6394fc12422613305e8aaf6a to your computer and use it in GitHub Desktop.
Save insekticid/e772d2ca6394fc12422613305e8aaf6a to your computer and use it in GitHub Desktop.
Electrum bitcoin wallet downloader with pgp check for windows
set ELECTRUM_VERSION=2.9.3
rm "electrum-%ELECTRUM_VERSION%-portable.exe.asc"
rm "electrum-%ELECTRUM_VERSION%-portable.exe"
curl -O "https://download.electrum.org/%ELECTRUM_VERSION%/electrum-%ELECTRUM_VERSION%-portable.exe"
curl -O "https://download.electrum.org/%ELECTRUM_VERSION%/electrum-%ELECTRUM_VERSION%-portable.exe.asc"
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x2bd5824b7f9470e6
gpg --fingerprint 0x2bd5824b7f9470e6
gpg --batch --verify "electrum-%ELECTRUM_VERSION%-portable.exe.asc" "electrum-%ELECTRUM_VERSION%-portable.exe" && electrum-%ELECTRUM_VERSION%-portable.exe
rm "electrum-%ELECTRUM_VERSION%-portable.exe.asc"
rm "electrum-%ELECTRUM_VERSION%-portable.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment