leonllrmc
c97f8109c2
chore: update import for use new ECMA features ( #24987 )
2020-08-25 09:23:44 -07:00
Anders Kaseorg
1746ae8c35
fix: do not ignore electron exit signals in cli.js wrapper ( #22878 )
...
When the electron child process exits with a signal, the close event
handler receives code null and the cli wrapper would silently exit
successfully. Fix it to log a message and exit with a nonzero code in
this case.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-04-13 15:49:01 +09:00
Max
ae49b8be42
fix: npm download failed when define 'npm_config_platform=mas' ( #21801 )
2020-01-17 14:44:21 +09:00
David Sanders
85382d8f1d
fix: improve error handling in npm install ( #21589 )
...
* fix: improve error handling in npm install
* chore: simplify logic
2019-12-30 09:48:54 -08:00
Robert Nagy
1f43af5cea
feat: add openbsd support in the node module ( #19860 )
2019-08-22 12:09:15 -07:00
Samuel Attard
4b674c1daf
build: ensure that we bundle the correct version of @types/node ( #19102 )
2019-07-03 16:36:59 -07:00
Samuel Attard
a6637fbce9
chore: update the npm package to use @electron/get ( #18413 )
...
* chore: update the npm package to use @electron/get
* chore: update node requirement for got
2019-05-24 13:40:53 -07:00
Joshua Westerheide
a59dc56fa6
feat: add env variable to skip binary download on npm install ( #17627 )
...
* feat: add env variable to skip binary download on npm install
* docs: add "Skip binary download" section to install tutorial
2019-05-03 10:17:15 -07:00
Shelley Vohr
18ca4b6a3a
chore: update @types/node dep ( #16174 )
2018-12-21 12:59:42 -05:00
Samuel Attard
6c998aa4f2
fix: fix Electron not starting in development from the CLI ( #16116 )
2018-12-17 19:26:22 -08:00
Samuel Attard
eb8fcf833c
chore: warn when people attempt to use the Electron module to do Electron things but from node ( #15916 )
...
* chore: warn when people attempt to use the Electron module to do Electron things but from node
* update node env console warning
2018-12-07 12:00:24 -08:00
Samuel Attard
e9fab747ec
fix: explicitly set `windowsHide` to the old node default ( #15469 )
...
fixes #15467
2018-11-01 10:53:11 +11:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Keerthi Niranjan
59e118925a
fix: electron path for postinstall ( #14177 )
...
* fix #14127 issue caused by #12426
* add ELECTRON_OVERRIDE_DIST_PATH check for install.js
2018-08-19 09:40:12 -07:00
Samuel Attard
eb79ad4dab
fix: handle SIGINT and SIGTERM from the Electron CLI helper ( #13867 )
...
Fixes #12840
2018-07-31 13:44:04 -05:00
Mark Lee
cda13e5e79
feat: upgrade electron-download to 4.x
...
This is a breaking change, as it causes the `electron` module to require
Node 4.x (which has been EOL'd anyway).
Upgrading adds features such as a customizable cache location (via the
`ELECTRON_CACHE` environment variable).
Originally merged in https://github.com/electron/electron/pull/10922 but
was reverted because it was going into a version of Electron that did
not allow breaking changes.
2018-05-17 23:16:27 -07:00
Samuel Attard
2e5cb930de
Provide an easy way to use a local build of Electron ( #12426 )
...
* Provide an easy way to use a local build of Electron
For instance from ~/projects/electron/out/D
* document ELECTRON_OVERRIDE_DIST_PATH
* Make the linter happy
* Tweak ELECTRON_OVERRIDE_DIST_PATH docs
2018-03-25 00:03:17 -04:00
Charles Kerr
6f3fdb6ae6
revert electron-download dependency to ^3.0.1
...
undo last week's dependency bump as per discussion at https://github.com/electron/electron/pull/10922
dependency was bumped @ 0c9e106502
2017-11-03 09:45:09 -05:00
Selwyn
0c9e106502
Update electron-download to version 4.1.0
...
Respects the OS cache location and be able to set he cache location by setting the environment variable `ELECTRON_CACHE`.
2017-10-26 14:17:34 +02:00
Felix Rieseberg
2b510d7a06
Update install.js
2017-10-11 11:10:38 -07:00
Felix Rieseberg
d07529feca
🔧 Don't be quiet on default loglevel
2017-10-11 10:56:40 -07:00
Vanessa Yuen
b54804d449
change `process.versions.electron` to reflect suffixes in version name.
2017-08-29 19:37:49 -04:00
Zeke Sikelianos
18e7354b4a
bump @types/node to 8
2017-08-22 11:01:40 -07:00
Zeke Sikelianos
525eedc036
remove prebuilt readme in favor of top-level readme
2017-08-08 10:20:30 -07:00
Vanessa Yuen
6e86a95f5e
remove package-lock from `/npm`
2017-08-01 16:15:24 -04:00
Vanessa Yuen
cd1c5103c7
remove unnecessary tests & dependencies from `/npm`
2017-08-01 16:07:51 -04:00
Vanessa Yuen
1577360312
fix lint errors
2017-08-01 11:50:57 -04:00
Vanessa Yuen
eaa63c880e
add final "integration test" before running npm publish on the prebuilt
2017-08-01 00:50:40 -04:00
Vanessa Yuen
40555371ba
add tests for npm install
2017-07-18 13:38:57 -04:00
Vanessa Yuen
663710e8eb
script to publish electron to npm directly
2017-07-13 17:09:21 -04:00
Vanessa Yuen
5dfee2a23c
remove files no longer needed in /npm
2017-07-06 14:31:02 -04:00
Electron Bot
21657c6289
Update to Electron v1.7.4
2017-06-28 16:47:26 -07:00
Kevin Sawicki
97d0c6e505
Upgrade .d.ts file to 1.7.4
2017-06-28 15:18:59 -07:00
Kevin Sawicki
d7ee2068c5
Merge pull request #262 from electron-userland/ts-1-7-3
...
Add electron.d.ts@1.7.3
2017-06-08 15:48:56 -07:00
Electron Bot
68164aeff2
Update to Electron v1.7.3
2017-06-08 15:46:02 -07:00
Kevin Sawicki
51126c7c35
Add electron.d.ts@1.7.3
2017-06-08 15:31:29 -07:00
Zeke Sikelianos
bd8a1c233d
Merge pull request #255 from jpiepkow/master
...
added force option for electron-download inside install.js
2017-06-01 12:31:30 -07:00
Jordan Piepkow
063df81231
Update README.md
2017-06-01 14:30:39 -04:00
Electron Bot
256b5c8a17
Update to Electron v1.7.2
2017-05-26 13:39:08 -07:00
Kevin Sawicki
3647095415
Upgrade typescript file to 1.7.2
2017-05-26 13:09:34 -07:00
Electron Bot
85d6b74be2
Update to Electron v1.6.11
2017-05-25 12:52:38 -07:00
Jordan Piepkow
ffc22ef926
switched to the more standard approach in this file
...
Switched to defaulting back to string 'false' as that is how it was already doing strictSSL and electron-download treats and checks both against bools so would make sense to keep it the same across the document.
2017-05-23 16:16:01 -04:00
Jordan Piepkow
28100a8695
added force option in electron-download.
...
Downloading from cache causes a checksum check that causes some builds to fail(see https://github.com/electron/electron/issues/8653 ) that that rely on stable electron releases(pre electron v1.7.0 beta) where chromedrive is not named based on electron version. This will add the option to always force a redownload.
2017-05-23 15:26:22 -04:00
Electron Bot
09f31f559d
Update to Electron v1.7.1
2017-05-16 14:41:41 -07:00
Kevin Sawicki
1206689caa
Update to electron.d.ts@1.7.1
2017-05-16 14:37:10 -07:00
Electron Bot
3898a13e57
Update to Electron v1.6.10
2017-05-16 12:37:38 -07:00
Kevin Sawicki
a12d7356d9
Update to electron.d.ts@1.6.10
2017-05-16 12:33:38 -07:00
Zeke Sikelianos
b6a05a684f
add @types/node
2017-05-10 23:38:51 -07:00
Electron Bot
18615da075
Update to Electron v1.7.0
2017-05-10 12:58:24 -07:00
Kevin Sawicki
9d8b9ece5c
Update to electron.d.ts@1.7.0
2017-05-10 12:52:00 -07:00