File: bundle_r2dec.ps1

package info (click to toggle)
iaito 6.0.8%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,796 kB
  • sloc: cpp: 45,386; sh: 673; xml: 323; python: 234; makefile: 125; ansic: 9
file content (13 lines) | stat: -rw-r--r-- 611 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This script is deprecated and it is not going to work
# But it's kept for future work towards supporting it again
$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/wargio/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