-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathMakefile
19 lines (18 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: app
app:
yarn production
rm -rf app
mkdir -p app
mkdir -p release
cp -r dist app/dist
cp package.json app/package.json
electron-packager app FlipFlip --platform=darwin --arch=x64 --icon="src/renderer/icons/flipflip_logo.icns" --overwrite
electron-packager app FlipFlip --platform=win32 --arch=x64 --icon="src/renderer/icons/flipflip_logo.ico" --overwrite
electron-packager app FlipFlip --platform=win32 --arch=ia32 --icon="src/renderer/icons/flipflip_logo.ico" --overwrite
electron-packager app FlipFlip --platform=linux --arch=x64 --icon="src/renderer/icons/flipflip_logo.iconset/[email protected]" --overwrite
electron-packager app FlipFlip --platform=linux --arch=ia32 --icon="src/renderer/icons/flipflip_logo.iconset/[email protected]" --overwrite
zip -r release/FlipFlip-Mac.zip FlipFlip-darwin-x64
zip -r release/FlipFlip-Windows.zip FlipFlip-win32-x64
zip -r release/FlipFlip-Windows-32bit.zip FlipFlip-win32-ia32
zip -r release/FlipFlip-Linux.zip FlipFlip-linux-x64
zip -r release/FlipFlip-Linux-32bit.zip FlipFlip-linux-ia32