forked from mchristopher/PokemonGo-DesktopMap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
distrib.sh
executable file
·24 lines (19 loc) · 1.53 KB
/
distrib.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
find . -name "*.pyc" -delete
rm -fr map/pogom.db
rm -fr PokemonGoMap-OSX.zip
node_modules/.bin/electron-packager . "Pokemon GO Live Map" --platform=darwin --arch=x64 --icon=pokemon.icns --overwrite --prune --osx-sign.identity="Mac Developer: Mike Christopher (35938FGD4K)" --ignore=win32output --ignore=PokemonGoMap-Lin-x64.zip --ignore=PokemonGoMap-OSX.zip --ignore=PokemonGoMap-Win.zip --ignore=map/ve --ignore="map/Easy Setup" --ignore=distrib.sh --ignore=pywin --ignore=package_python.sh
cd "Pokemon GO Live Map-darwin-x64"
zip -9ryv ../PokemonGoMap-OSX.zip .
cd ..
rm -fr PokemonGoMap-Win.zip
node_modules/.bin/electron-packager . "Pokemon GO Live Map" --platform=win32 --arch=ia32 --icon=pokemon.ico --overwrite --prune --version-string.ProductName="Pokemon GO Live Map" --ignore=map/ve --ignore=win32output --ignore=PokemonGoMap-Lin-x64.zip --ignore=PokemonGoMap-OSX.zip --ignore=PokemonGoMap-Win.zip --ignore="map/Easy Setup" --ignore=distrib.sh --ignore=package_python.sh
cd "Pokemon GO Live Map-win32-ia32"
zip -9rv ../PokemonGoMap-Win.zip .
cd ..
#grunt create-windows-installer
rm -fr PokemonGoMap-Lin-x64.zip
node_modules/.bin/electron-packager . "Pokemon GO Live Map" --platform=linux --arch=x64 --icon=pokemon.ico --overwrite --prune --ignore=map/ve --ignore=win32output --ignore=PokemonGoMap-Lin-x64.zip --ignore=PokemonGoMap-OSX.zip --ignore=PokemonGoMap-Win.zip --ignore="map/Easy Setup" --ignore=distrib.sh --ignore=package_python.sh --ignore=pywin
cd "Pokemon GO Live Map-linux-x64"
zip -9ryv ../PokemonGoMap-Lin-x64.zip .
cd ..