|
10 | 10 | ## |
11 | 11 |
|
12 | 12 |
|
13 | | -ELECTRONVER=0.37.7 |
| 13 | +ELECTRONVER=0.37.6 |
14 | 14 | NODEJSVER=5.1.1 |
15 | 15 | PYTHONVER=2.7.11 |
16 | 16 | UPXVER=391 |
@@ -125,13 +125,14 @@ case $OS in win32*) |
125 | 125 |
|
126 | 126 | py.exe -2.7-32 -m virtualenv env-$OS |
127 | 127 | . env-$OS/scripts/activate |
128 | | - pip install pyinstaller==3.1 |
| 128 | + pip install pyinstaller==3.1.1 |
129 | 129 | pip install setuptools==19.2 --upgrade |
130 | 130 | pip install https://openbazaar.org/downloads/miniupnpc-1.9-cp27-none-win32.whl |
131 | 131 | pip install https://openbazaar.org/downloads/PyNaCl-0.3.0-cp27-none-win32.whl |
132 | 132 | pip install setuptools==19.2 |
133 | 133 | pip install -r requirements.txt |
134 | | - pyinstaller -i ../windows/icon.ico ../openbazaard.win32.spec --noconfirm |
| 134 | + pyinstaller --clean |
| 135 | + pyinstaller --clean -i ../windows/icon.ico ../openbazaard.win32.spec --win-private-assemblies --noconfirm |
135 | 136 | cp -rf dist/openbazaard/* ../build-$OS/OpenBazaar-Server |
136 | 137 | cp ob.cfg ../build-$OS/OpenBazaar-Server |
137 | 138 | cd .. |
@@ -167,8 +168,18 @@ case $OS in win32*) |
167 | 168 | npm install -g grunt |
168 | 169 | npm install --save-dev grunt-electron-installer |
169 | 170 |
|
| 171 | + # Build full version |
170 | 172 | grunt create-windows-installer --obversion=$PACKAGE_VERSION --appdir=temp-$OS/OpenBazaar-win32-ia32 --outdir=build-$OS |
171 | 173 |
|
| 174 | + # Build client-only version |
| 175 | + rm -rf build-$OS/OpenBazaar-Server |
| 176 | + grunt create-windows-installer --obversion=$PACKAGE_VERSION --clientonly=Client --appdir=temp-$OS/OpenBazaar-win32-ia32 --outdir=build-$OS |
| 177 | + |
| 178 | + cd ../../../../ |
| 179 | + mv build-$OS/OpenBazaarSetup.exe build-$OS/OpenBazaar-${PACKAGE_VERSION}_Setup_i386.exe |
| 180 | + mv build-$OS/RELEASES build-$OS/RELEASES_WIN32 |
| 181 | + mv "build-$OS/OpenBazaar-$PACKAGE_VERSION-full.nupkg" "build-$OS/OpenBazaar-$PACKAGE_VERSION-i386-full.nupkg" |
| 182 | + |
172 | 183 | echo "Do not forget to sign the release before distributing..." |
173 | 184 | echo "signtool sign /t http://timestamp.digicert.com /a [filename]" |
174 | 185 | ;; |
@@ -206,7 +217,8 @@ case $OS in win32*) |
206 | 217 |
|
207 | 218 |
|
208 | 219 | rm -rf dist build |
209 | | - pyinstaller -i ../windows/icon.ico ../openbazaard.win.spec --noconfirm |
| 220 | + |
| 221 | + pyinstaller --clean -i ../windows/icon.ico ../openbazaard.win.spec --win-private-assemblies --noconfirm |
210 | 222 | cp -rf dist/openbazaard/* ../build-$OS/OpenBazaar-Server |
211 | 223 | cp ob.cfg ../build-$OS/OpenBazaar-Server |
212 | 224 | cd .. |
@@ -244,6 +256,9 @@ case $OS in win32*) |
244 | 256 |
|
245 | 257 | grunt create-windows-installer --obversion=$PACKAGE_VERSION --appdir=temp-$OS/OpenBazaar-win32-x64 --outdir=build-$OS |
246 | 258 |
|
| 259 | + cd ../../../../ |
| 260 | + mv build-$OS/OpenBazaarSetup.exe "build-$OS/OpenBazaar-${PACKAGE_VERSION}_Setup_x64.exe" |
| 261 | + |
247 | 262 | echo "Do not forget to sign the release before distributing..." |
248 | 263 | echo "signtool sign /t http://timestamp.digicert.com /a [filename]" |
249 | 264 | ;; |
|
0 commit comments