Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
updated version and package script
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJordens committed Mar 9, 2018
1 parent 2bd17db commit f24f85b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .bin/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ export NODE_ENV=production
bash .bin/build.sh
echo "copying package.json"
cp build_package.json app/package.json
cd app
echo "installing dependencies"
yarn add [email protected]
cd ..
echo "starting electron-packager"
node_modules/.bin/electron-packager app --platform=darwin,linux,win32 --arch=all --asar --icon assets/logo --out packages
echo "packaging asar"
Expand Down
7 changes: 2 additions & 5 deletions build_package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"name": "socket-io-tester",
"version": "1.1.1",
"main": "index.js",
"devDependencies": {
"babel-plugin-transform-regenerator": "^6.18.0"
}
"version": "1.2.0",
"main": "index.js"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "_electronapp",
"version": "1.1.1",
"version": "1.2.0",
"main": "app/index.js",
"license": "GPL-2.0",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion src/electron/checkVersion.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import https from 'https'
import { version } from './package.json'
import regeneratorRuntime from 'regenerator-runtime/runtime'

function getRelease () {
return new Promise ((resolve, reject) => {
Expand Down

0 comments on commit f24f85b

Please sign in to comment.