mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
12 lines
497 B
PowerShell
12 lines
497 B
PowerShell
$dist = $args[0]
|
|
$python = Split-Path((Get-Command python.exe).Path)
|
|
|
|
if (-not (Test-Path -Path 'r2dec-js' -PathType Container)) {
|
|
git clone https://github.com/rizinorg/r2dec-js.git --branch master --depth 1
|
|
}
|
|
cd r2dec-js
|
|
#git checkout b5a0d15c7bcc488f268ffb0931b7ced2919f6c9d
|
|
& meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS --prefix=$dist --libdir=lib\plugins --datadir=lib\plugins p build
|
|
ninja -C build install
|
|
Remove-Item -Recurse -Force $dist\lib\plugins\core_pdd.lib
|