nixos-config/pkgs/binaryninja/update.sh
2024-03-02 01:10:48 -05:00

8 lines
168 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
cd "$(dirname "$BASH_SOURCE")"
curl https://binary.ninja/js/hashes.js -o tmp.json
jq --tab --sort-keys <tmp.json >hashes.json
rm tmp.json