From a6a7dcfe3953d85edfd4b16f90a437642f7bb104 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Sat, 8 Jul 2017 11:41:41 +0200 Subject: [PATCH] why it no work --- AppVeyor/appveyor.yml | 2 +- AppVeyor/make_installer.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AppVeyor/appveyor.yml b/AppVeyor/appveyor.yml index ed921b9..5c6c092 100644 --- a/AppVeyor/appveyor.yml +++ b/AppVeyor/appveyor.yml @@ -22,7 +22,7 @@ build_script: - mingw32-make.exe -j8 - copy release\KShare.exe ..\KShare.exe - cd .. - - bash -xe AppVeyor\make_installer.sh + - bash AppVeyor\make_installer.sh artifacts: - path: KShare.exe name: Shared link diff --git a/AppVeyor/make_installer.sh b/AppVeyor/make_installer.sh index 65b27f1..0620e73 100644 --- a/AppVeyor/make_installer.sh +++ b/AppVeyor/make_installer.sh @@ -6,10 +6,10 @@ function addFile { } function addFileIn { - echo $1 + name=$2\\$(basename $1) + echo $1 $name mkdir -p $2 cp $1 $2 - name=$2\\$(basename $1) 7z a -tzip portable.zip $name echo "Source: \"$name\"; DestDir: \"{app}\\$2\"; Flags: ignoreversion" >> installer.iss }