nixos-config/pkgs/binaryninja/update.sh

9 lines
168 B
Bash
Raw Normal View History

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