Update pkgname
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user