diff --git a/.bin/package.sh b/.bin/package.sh index 095ced7..ef6470e 100644 --- a/.bin/package.sh +++ b/.bin/package.sh @@ -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 babel-plugin-transform-regenerator@6.22.0 -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" diff --git a/build_package.json b/build_package.json index 48b9f6f..4c3bcf7 100644 --- a/build_package.json +++ b/build_package.json @@ -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" } diff --git a/package.json b/package.json index 0ff114e..856a553 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "_electronapp", - "version": "1.1.1", + "version": "1.2.0", "main": "app/index.js", "license": "GPL-2.0", "scripts": { diff --git a/src/electron/checkVersion.js b/src/electron/checkVersion.js index fabd757..ae166a0 100644 --- a/src/electron/checkVersion.js +++ b/src/electron/checkVersion.js @@ -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) => {