Oh that's why

This commit is contained in:
ArsenArsen 2017-07-08 11:45:29 +02:00
parent a6a7dcfe39
commit e5dc2d0b99

View File

@ -2,12 +2,12 @@
function addFile { function addFile {
echo $1 echo $1
cp $1 . cp $1 .
7z a -tzip portable.zip $(basename $1)
echo "Source: \"$(basename $1)\"; DestDir: \"{app}\"; Flags: ignoreversion" >> installer.iss echo "Source: \"$(basename $1)\"; DestDir: \"{app}\"; Flags: ignoreversion" >> installer.iss
} }
function addFileIn { function addFileIn {
name=$2\\$(basename $1) name=$2\\$(basename $1)
echo $1 $name
mkdir -p $2 mkdir -p $2
cp $1 $2 cp $1 $2
7z a -tzip portable.zip $name 7z a -tzip portable.zip $name