2018-11-10 12:10:26 +00:00
|
|
|
$dist = $args[0]
|
|
|
|
$python = Split-Path((Get-Command python.exe).Path)
|
|
|
|
|
2020-10-03 10:50:57 +00:00
|
|
|
if (-not (Test-Path -Path 'r2dec-js' -PathType Container)) {
|
|
|
|
git clone https://github.com/radareorg/r2dec-js.git --branch master --depth 1
|
|
|
|
}
|
2018-11-10 12:10:26 +00:00
|
|
|
cd r2dec-js
|
2020-10-03 10:50:57 +00:00
|
|
|
#git checkout b5a0d15c7bcc488f268ffb0931b7ced2919f6c9d
|
2020-08-08 15:43:43 +00:00
|
|
|
& meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS --prefix=$dist --libdir=lib\plugins --datadir=lib\plugins p build
|
2019-09-25 13:59:23 +00:00
|
|
|
ninja -C build install
|
2020-08-08 15:43:43 +00:00
|
|
|
Remove-Item -Recurse -Force $dist\lib\plugins\core_pdd.lib
|