Skip to content

Commit

Permalink
update to use electron builder and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Armaldio committed Jun 28, 2018
1 parent 476912f commit 4cc1859
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 13 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#Exclude modules node
node_modules/

#Exclude modules node
build/

yarn\.lock
dist/*
*.log
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ install:
- 'npm install -g xvfb-maybe'
- yarn
script:
- 'yarn run build'
- 'yarn run dist'
#branches:
# only:
# - master
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
33 changes: 24 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,44 @@
"version": "1.1.0",
"description": "Just a simple project made with electron JS to show Android Messages from Google in a app with notifications.",
"main": "main.js",
"scripts": {
"start": "electron .",
"package-mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --out=build/macos/ --icon=icons/mac/icon.icns --prune=true",
"package-win": "electron-packager . --overwrite --asar=true --platform=win32 --arch=ia32 --icon=icons/win/icon.ico --prune=true --out=build/windows/ --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName='Android Messages'",
"package-linux": "electron-packager . android-messages-app --overwrite --asar=true --platform=linux --arch=x64 --icon=icons/png/1024x1024.png --prune=true --out=build"
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder"
},
"repository": {
"type": "git",
"url": "git+https://github.com/antoineguilbert/android-messages-for-desktop.git"
},
"author": "Antoine Guilbert",
"license": "ISC",
"license": "MIT",
"homepage": "https://github.com/antoineguilbert/android-messages-for-desktop/blob/master/README.md",
"build": {
"appId": "com.antoineguilbert.android-messages",
"mac": {
"category": "public.app-category.social-networking",
"target": "dmg"
},
"win": {
"target": "nsis"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"linux": {
"target": "AppImage"
},
"publish": ["github"]
},
"devDependencies": {
"electron": "^2.0.3",
"electron-builder": "^20.17.0",
"electron-winstaller": "^2.6.4"
},
"dependencies": {
"electron-context-menu": "^0.10.0",
"electron-packager": "^12.1.0",
"electron-window-state": "^4.1.1"
},
"directories": {
"buildResources ": "icons"
}
}

0 comments on commit 4cc1859

Please sign in to comment.