From 7d66a1162f9307f3b64586ec95b754faa9bda740 Mon Sep 17 00:00:00 2001 From: Johan Geluk Date: Mon, 13 Feb 2017 22:09:11 +0100 Subject: [PATCH] Update packaging script --- pass-winmenu/build-package.ps1 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pass-winmenu/build-package.ps1 b/pass-winmenu/build-package.ps1 index a0d3cc0..00557cb 100644 --- a/pass-winmenu/build-package.ps1 +++ b/pass-winmenu/build-package.ps1 @@ -6,16 +6,12 @@ param( $PKGDIR="bin/Release-Packaged" $ZIPDIR="bin/pass-winmenu.zip" -$INCLUDEDIR="$PKGDIR/include" +$INCLUDEDIR="$PKGDIR/lib" if($full){ rm -recurse "$PKGDIR" mkdir "$PKGDIR" - mkdir "$INCLUDEDIR" }else{ - if(-Not (Test-Path "$INCLUDEDIR")){ - mkdir "$INCLUDEDIR" - } if(Test-Path "$PKGDIR/pass-winmenu.exe"){ rm "$PKGDIR/pass-winmenu.exe" } @@ -24,11 +20,11 @@ if($full){ } } +cp -recurse "bin/Release/lib" "$PKGDIR/lib" cp "bin/Release/pass-winmenu.exe" "$PKGDIR/pass-winmenu.exe" cp "include/packaged-config.yaml" "$PKGDIR/pass-winmenu.yaml" tools/7za.exe x -aos "include/GnuPG.zip" "-o$INCLUDEDIR" -tools/7za.exe x -aos "include/PortableGit.zip" "-o$INCLUDEDIR" if($package){ if(Test-Path "$ZIPDIR"){