use wine to build install.exe

git-svn-id: https://svn.code.sf.net/p/jailer/code/trunk@1572 3dd849cd-670e-4645-a7cd-dd197c8d0e81
This commit is contained in:
rwisser
2018-02-18 06:54:16 +00:00
parent 740bbe5502
commit faf463a1b9
2 changed files with 9 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ fi
cd
cd workspace/jailer/jailer-code/
svn up
sh admin/release.sh jailer_$1
sh admin/release.sh $1
cd
cd tmp
rm -r _$1

View File

@@ -1,4 +1,5 @@
rm -rf ~/tmp/jailer
rm -rf ~/tmp/jailer*
rm -rf ~/tmp/dbeauty*
rm -rf ~/tmp/$1
rm -rf ~/tmp/$1.co
mkdir ~/tmp/jailer
@@ -21,7 +22,9 @@ cp -r . ~/.wine/drive_c/tmp/jailer/
rm -rf ~/.wine/drive_c/tmp/jailer/admin
sed s/%VERSION%/$1/g admin/Jailer.nsi > admin/tmp.nsi
wine ~/nsis-3.03/makensis.exe admin/tmp.nsi
cd admin
wine ~/nsis-3.03/makensis.exe tmp.nsi
cd ..
rm admin/tmp.nsi
rm -rf ~/.wine/drive_c/tmp/dbeauty
@@ -29,7 +32,9 @@ cp -r . ~/.wine/drive_c/tmp/dbeauty/
rm -rf ~/.wine/drive_c/tmp/dbeauty/admin
sed s/%VERSION%/$1/g admin/dbeauty.nsi > admin/tmp.nsi
wine ~/nsis-3.03/makensis.exe admin/tmp.nsi
cd admin
wine ~/nsis-3.03/makensis.exe tmp.nsi
cd ..
rm admin/tmp.nsi
sed s/%VERSION%/$1/g admin/Jailer.nsi > admin/tmp.nsi