From e26a6ae75b159c4e6d49e39d5353fe4b1fca1007 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Thu, 20 Jul 2017 18:48:39 +0200 Subject: [PATCH] Some files got moved around --- AppVeyor/make_installer.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/AppVeyor/make_installer.sh b/AppVeyor/make_installer.sh index 7006e3e..fa08da4 100644 --- a/AppVeyor/make_installer.sh +++ b/AppVeyor/make_installer.sh @@ -1,17 +1,18 @@ #!/usr/bin/env bash function addFile { - echo $1 - cp $1 . + cp $1 . || (echo cp $1 failed ; return 1) 7z a -tzip portable.zip $(basename $1) > /dev/null echo "Source: \"$(basename $1)\"; DestDir: \"{app}\"; Flags: ignoreversion" >> installer.iss + echo $1 } function addFileIn { name=$2\\$(basename $1) mkdir -p $2 - cp $1 $2 + cp $1 $2 || (echo cp $name failed ; return 1) 7z a -tzip portable.zip $name > /dev/null echo "Source: \"$name\"; DestDir: \"{app}\\$2\"; Flags: ignoreversion" >> installer.iss + echo $name } ver=$(cat main.cpp | grep setApplicationVersion | sed "s/\\s*a.setApplicationVersion(\"//g" | sed "s/\");//g")