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

Commit f24f85b

Browse files
committed
updated version and package script
1 parent 2bd17db commit f24f85b

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

.bin/package.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ export NODE_ENV=production
44
bash .bin/build.sh
55
echo "copying package.json"
66
cp build_package.json app/package.json
7-
cd app
8-
echo "installing dependencies"
9-
10-
cd ..
117
echo "starting electron-packager"
128
node_modules/.bin/electron-packager app --platform=darwin,linux,win32 --arch=all --asar --icon assets/logo --out packages
139
echo "packaging asar"

build_package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"name": "socket-io-tester",
3-
"version": "1.1.1",
4-
"main": "index.js",
5-
"devDependencies": {
6-
"babel-plugin-transform-regenerator": "^6.18.0"
7-
}
3+
"version": "1.2.0",
4+
"main": "index.js"
85
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "_electronapp",
3-
"version": "1.1.1",
3+
"version": "1.2.0",
44
"main": "app/index.js",
55
"license": "GPL-2.0",
66
"scripts": {

src/electron/checkVersion.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import https from 'https'
22
import { version } from './package.json'
3-
import regeneratorRuntime from 'regenerator-runtime/runtime'
43

54
function getRelease () {
65
return new Promise ((resolve, reject) => {

0 commit comments

Comments
 (0)