cutter/scripts/jsdec.sh
Anton Kochkov 88478ffb30
New JSDec home (#2563)
Switch from r2dec to jsdec
2021-01-16 11:48:31 +01:00

20 lines
366 B
Bash
Executable File

#!/bin/bash
set -e
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [[ ! -d jsdec ]]; then
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch master
fi
cd jsdec
rm -rf build
mkdir build && cd build
meson --buildtype=release --libdir=share/rizin/plugins --datadir=share/rizin/plugins "$@" ../p
ninja
ninja install