mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 13:55:26 +00:00
11 lines
477 B
PowerShell
11 lines
477 B
PowerShell
$dist = $args[0]
|
|
$python = Split-Path((Get-Command python.exe).Path)
|
|
|
|
if (-not (Test-Path -Path 'jsdec' -PathType Container)) {
|
|
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch v0.3.1
|
|
}
|
|
cd jsdec
|
|
& meson.exe --buildtype=release -Dc_args=-DDUK_USE_DATE_NOW_WINDOWS -Djsc_folder="." -Drizin_plugdir=lib\plugins -prefix=$dist --libdir=lib\plugins --datadir=lib\plugins p build
|
|
ninja -C build install
|
|
Remove-Item -Recurse -Force $dist\lib\plugins\core_pdd.lib
|