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 }