Skip to content

Commit

Permalink
[npm publish] - npm publish 2017.11.15
Browse files Browse the repository at this point in the history
- minor upgrade to electron v1.6.15
  • Loading branch information
kaizhu256 committed Nov 16, 2017
1 parent c8d7444 commit 301ae38
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# electron-lite
this zero-dependency package will download and install the electron (v1.6.14) prebuilt-binary from https://github.com/electron/electron/releases
this zero-dependency package will download and install the electron (v1.6.15) prebuilt-binary from https://github.com/electron/electron/releases, with a working web-demo

# live demo
# live web demo
- none

![screenshot](https://kaizhu256.github.io/node-electron-lite/build/screenshot.testExampleJs.browser..png)
Expand Down Expand Up @@ -39,8 +39,8 @@ this zero-dependency package will download and install the electron (v1.6.14) pr


# cdn download
- [https://github.com/electron/electron/releases/download/v1.6.14/electron-v1.6.14-darwin-x64.zip](https://github.com/electron/electron/releases/download/v1.6.14/electron-v1.6.14-darwin-x64.zip)
- [https://github.com/electron/electron/releases/download/v1.6.14/electron-v1.6.14-linux-x64.zip](https://github.com/electron/electron/releases/download/v1.6.14/electron-v1.6.14-linux-x64.zip)
- [https://github.com/electron/electron/releases/download/v1.6.15/electron-v1.6.15-darwin-x64.zip](https://github.com/electron/electron/releases/download/v1.6.15/electron-v1.6.15-darwin-x64.zip)
- [https://github.com/electron/electron/releases/download/v1.6.15/electron-v1.6.15-linux-x64.zip](https://github.com/electron/electron/releases/download/v1.6.15/electron-v1.6.15-linux-x64.zip)



Expand All @@ -57,10 +57,9 @@ this zero-dependency package will download and install the electron (v1.6.14) pr
- upgrade to electron v1.8.x when stable
- none

#### changelog for v2017.10.2
- npm publish 2017.10.2
- upgrade to electron v1.6.14
- add cli-help section in README.md
#### changelog for v2017.11.15
- npm publish 2017.11.15
- minor upgrade to electron v1.6.15
- none

#### this package requires
Expand Down Expand Up @@ -176,7 +175,7 @@ instruction
"bin": {
"electron": "lib.electron.js"
},
"description": "this zero-dependency package will download and install the electron (v1.6.14) prebuilt-binary from https://github.com/electron/electron/releases",
"description": "this zero-dependency package will download and install the electron (v1.6.15) prebuilt-binary from https://github.com/electron/electron/releases, with a working web-demo",
"devDependencies": {
"utility2": "kaizhu256/node-utility2#alpha"
},
Expand All @@ -193,6 +192,7 @@ instruction
"license": "MIT",
"main": "lib.electron.js",
"name": "electron-lite",
"nameAliasPublish": "electron-scrape",
"nameLib": "electron",
"nameOriginal": "electron-lite",
"os": [
Expand All @@ -211,7 +211,7 @@ instruction
"start": "NODE_BINARY=./lib.electron.js PORT=${PORT:-8080} utility2 start test.js",
"test": "set -e; rm -fr external; npm run postinstall; ./lib.electron.js --version; export NODE_BINARY=./lib.electron.js; utility2 test test.js"
},
"version": "2017.10.2"
"version": "2017.11.15"
}
```

Expand Down
9 changes: 5 additions & 4 deletions lib.electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
(function () {
'use strict';
module.exports.__dirname = __dirname;
module.exports.__filename = (process.platform === 'darwin' &&
module.exports.__filename =
(process.platform === 'darwin' &&
require('fs').existsSync(__dirname + '/external/Electron.app/Contents/MacOS/Electron')
// bug-workaround - darwin does not like symlink
? __dirname + '/external/Electron.app/Contents/MacOS/Electron'
: __dirname + '/external/electron');
// bug-workaround - darwin does not like symlink
? __dirname + '/external/Electron.app/Contents/MacOS/Electron'
: __dirname + '/external/electron');
if (module !== require.main) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion npm_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ postinstall() {(set -e
# v1.5.1
# v1.6.1
# v1.7.1
VERSION="${npm_config_electron_version:-v1.6.14}"
VERSION="${npm_config_electron_version:-v1.6.15}"
FILE_BASE="electron-$VERSION-linux-x64.zip"
FILE_BIN=external/electron
FILE_URL="https://github.com/electron/electron/releases/download/$VERSION/$FILE_BASE"
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"bin": {
"electron": "lib.electron.js"
},
"description": "this zero-dependency package will download and install the electron (v1.6.14) prebuilt-binary from https://github.com/electron/electron/releases",
"description": "this zero-dependency package will download and install the electron (v1.6.15) prebuilt-binary from https://github.com/electron/electron/releases, with a working web-demo",
"devDependencies": {
"utility2": "kaizhu256/node-utility2#alpha"
},
Expand All @@ -20,6 +20,7 @@
"license": "MIT",
"main": "lib.electron.js",
"name": "electron-lite",
"nameAliasPublish": "electron-scrape",
"nameLib": "electron",
"nameOriginal": "electron-lite",
"os": [
Expand All @@ -38,5 +39,5 @@
"start": "NODE_BINARY=./lib.electron.js PORT=${PORT:-8080} utility2 start test.js",
"test": "set -e; rm -fr external; npm run postinstall; ./lib.electron.js --version; export NODE_BINARY=./lib.electron.js; utility2 test test.js"
},
"version": "2017.10.2"
"version": "2017.11.15"
}

0 comments on commit 301ae38

Please sign in to comment.