Skip to content

Commit eba56c5

Browse files
committed
Config file
1 parent 015780d commit eba56c5

File tree

2 files changed

+63
-2
lines changed

2 files changed

+63
-2
lines changed

.travis.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
osx_image: xcode7.3
2+
sudo: required
3+
dist: trusty
4+
language: c
5+
matrix:
6+
include:
7+
- os: osx
8+
- os: linux
9+
env: CC=clang CXX=clang++ npm_config_clang=1
10+
compiler: clang
11+
cache:
12+
directories:
13+
- node_modules
14+
- app/node_modules
15+
- "$HOME/.electron"
16+
- "$HOME/.cache"
17+
addons:
18+
apt:
19+
packages:
20+
- libgnome-keyring-dev
21+
- icnsutils
22+
before_install:
23+
- mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([
24+
"$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz
25+
| tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull
26+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils; fi
27+
install:
28+
- nvm install 6
29+
- npm install electron-builder@next
30+
- npm install
31+
- npm prune
32+
script:
33+
- npm run release
34+
branches:
35+
except:
36+
- "/^v\\d+\\.\\d+\\.\\d+$/"

package.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "main.js",
77
"scripts": {
88
"start": "electron .",
9-
"dist": "build"
9+
"dist": "build -mwl"
1010
},
1111
"repository": "https://github.com/ahmadudin/electron-InstaPy-GUI",
1212
"keywords": [
@@ -31,10 +31,35 @@
3131
"terminate": "^2.1.0"
3232
},
3333
"build": {
34-
"appId": "com.ahmadudin.quickstart",
34+
"appId": "com.ahmadudin.instapygui",
3535
"win": {
3636
"target": "NSIS",
3737
"icon": "build/icon.ico"
38+
},
39+
"mac": {
40+
"category": "public.app-category.utility"
41+
},
42+
"dmg": {
43+
"contents": [
44+
{
45+
"x": 110,
46+
"y": 150
47+
},
48+
{
49+
"x": 240,
50+
"y": 150,
51+
"type": "link",
52+
"path": "/Applications"
53+
}
54+
]
55+
},
56+
"linux": {
57+
"category": "Utilty",
58+
"target": [
59+
"AppImage",
60+
"deb"
61+
],
62+
"icon": "256x256.png"
3863
}
3964
}
4065
}

0 commit comments

Comments
 (0)