Update pkgname

This commit is contained in:
John Zhao
2018-11-01 23:34:52 +08:00
parent f803e3a75b
commit 3badd53c4b
5 changed files with 24 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ Section "SDK (required)"
SetOutPath $INSTDIR
; Put file there
File /r "mynteye-s-${VERSION}-win-x64\*"
File /r "mynteye-s-${VERSION}-win-x64-opencv-${OpenCV_VERSION}\*"
; Write the installation path into the registry
WriteRegStr HKLM "SOFTWARE\MYNTEYESSDK" "Install_Dir" "$INSTDIR"

View File

@@ -75,7 +75,8 @@ mv "$ROOT_DIR/3rdparty/opencv" "$ROOT_DIR/_install/3rdparty/opencv"
################################################################################
# archive exe
_pkgname=$1
source "$ROOT_DIR/pkginfo.sh"
_pkgname=$1-opencv-$OpenCV_VERSION
mv "$ROOT_DIR/_install" "$ROOT_DIR/$_pkgname"
makensis "$ROOT_DIR/winpack.nsi"