File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ $bits=$args[1]
3
3
$end = $args.Length
4
4
$meson_options = $args [2 .. $end ]
5
5
$scriptpath = $PSScriptRoot
6
- $builddir = $ (Join-Path - Path $env: TEMP - ChildPath " build-win-installer" )
7
- $installdir = $ (Join-Path - Path $env: TEMP - ChildPath " rizin-win-installer" )
6
+ $builddir = $ (Join-Path - Path $env: TEMP - ChildPath " build-win-installer- $name - $bits " )
7
+ $installdir = $ (Join-Path - Path $env: TEMP - ChildPath " rizin-win-installer- $name - $bits " )
8
8
9
9
pushd $PSScriptRoot \..\..
10
10
11
11
$version = $ (python sys\version.py)
12
12
echo $version
13
+ echo $builddir
14
+ echo $installdir
13
15
14
16
$env: Path += " ;$env: ProgramFiles (x86)\Microsoft Visual Studio\Installer"
15
17
$env: Path += " ;$env: ProgramFiles \7-Zip"
@@ -18,12 +20,12 @@ $env:Path += ";$env:ProgramFiles (x86)\Inno Setup 6"
18
20
dist\windows\vsdevenv.ps1 $bits
19
21
20
22
meson -- buildtype= release -- prefix= $installdir $builddir $meson_options
21
- ninja - C $builddir
23
+ ninja - C $builddir - j1
22
24
ninja - C $builddir install
23
25
7z a dist\windows\Output\rizin- $name - $version.zip $installdir
24
26
iscc dist\windows\rizin.iss / DRizinLocation= $installdir \* / DLicenseLocation= $PWD \COPYING.LESSER / DMyAppVersion= $version
25
27
26
28
rm - r $builddir
27
29
rm - r $installdir
28
30
29
- popd
31
+ popd
You can’t perform that action at this time.
0 commit comments