leonllrmc
c97f8109c2
chore: update import for use new ECMA features ( #24987 )
2020-08-25 09:23:44 -07: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
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
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
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
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
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
Volodymyr Bezuglyy
ba39adde36
Use process.env.electron_config_cache to get prepared zip file.
2017-02-09 15:15:15 +02:00
Kevin Sawicki
8d4660158a
err -> ignored
2016-12-27 11:51:00 -08:00
Kevin Sawicki
ed8260e4d9
Inline platform variable
2016-12-27 11:51:00 -08:00
Kevin Sawicki
d5bb1d87cc
Add getPath helper
2016-12-27 11:13:15 -08:00
Kevin Sawicki
d2df641b0d
Write path.txt after extraction
2016-12-27 11:03:51 -08:00
Mathias Buus
537203469e
log level is missing http
2016-11-11 15:38:02 +09:00
Flynn Joffray
95cd9d718d
print progress for proper loglevels
2016-10-20 12:20:25 +01:00
Kevin Sawicki
83ffe03825
Merge pull request #162 from EmilyFranklin/correct-platform-path
...
Change platform path to match downloaded one
2016-09-22 08:51:31 -07:00
Kevin Sawicki
557d062b7f
Remove trailing comma
2016-09-19 14:36:07 -07:00
Kevin Sawicki
fb2f4ae528
Set quiet to true when loglevel is silent
2016-09-19 14:32:11 -07:00
Kevin Sawicki
7dc95671cd
Tweak unknown platform error message
2016-07-28 13:47:03 -07:00
Emily
dfde9ea814
added or to handle undefined
2016-07-15 13:09:12 +09:00
Emily
4f20a15907
change platform path to match downloaded one
2016-07-15 11:17:54 +09:00
Matthew Amato
9295aa6103
Fix strict-ssl detection.
...
When `strict-ssl` is set to a truthy value, npm always turns the
environment variable into the string `true`, when the value is falsy, npm
always sets it to a blank string. This fixes strict-ssl detection by
always comparing the value of npm_config_strict_ssl to the string `"true"`
2016-03-02 16:45:48 -05:00
Rodrigo Nascimento
fc78d2d8f5
Allow download builds for MAS
2016-02-22 23:56:27 -03:00
Jonathan Creekmore
7922082090
Allow specifying StrictSSL in the NPM config file
...
The standard way of specifying whether you want strict-ssl or not
is to add an entry into your npm config file for strict-ssl. Use
that entry (which is passed to the install.js as an environment
variable) to set the option for strictSSL in electron-download.
2015-12-21 11:28:03 -06:00
Teran McKinney
23c928afc9
Add FreeBSD path to install.js
2015-12-12 22:14:09 +00:00
Yoyo Zhou
999a998469
Don't save __dirname into path.txt.
...
Allows install to work even if our directory is moved later.
2015-12-10 14:43:35 -08:00
Mathias Buus
b152f6d215
be standard
2015-12-09 16:30:46 +01:00
Mathias Buus
3ce46663b9
allow rebuilds. fixes #78
2015-12-09 16:16:56 +01:00
Tom Hughes
dd59736393
Clean up target arch support based on pull request #55 comments.
2015-09-22 10:34:52 -07:00
Attila Sukosd
f1f061e1e3
Added target arch support
...
Previously electron-prebuilt would download the prebuilt binaries
for the architecture native to the platform. However there are
cases where being able to download for another architecture is
favourable.
This patch adds support for setting the architecture through
npm's --arch= parameter. (Issue #53 )
2015-09-22 10:17:36 -07:00
Lars-Magnus Skog
efd51295c9
use version from package.json
2015-06-09 20:59:04 +02:00
Matt DesLauriers
811935b3b2
bump to 0.27.3
2015-06-09 10:42:26 -04:00
Max Ogden
740849270c
0.27.2
2015-06-01 15:38:17 -07:00
Max Ogden
1d8a289ed2
0.27.1
2015-05-28 11:17:04 -07:00
Max Ogden
2cd0ee5321
0.27.0
2015-05-28 11:16:44 -07:00
Ingo Richter
458a4f95ff
- update electron shell to 0.26.1
2015-05-21 18:21:22 -07:00
Max Ogden
19c6a6195d
0.26.0
2015-05-12 17:22:05 -07:00
Max Ogden
e2fc1a0fb1
refactor to use electron-download
2015-05-10 13:54:06 -07:00
Misumi Rize
0ba1f030a3
version 0.25.3
2015-05-09 00:16:05 +02:00
Mathias Buus
0a8ac33911
reset version for #18
2015-05-09 00:16:05 +02:00
RnbWd
bbdec2be1a
v0.25.3
2015-05-08 06:11:40 -07:00
RnbWd
ce8c95127e
simplify cache paths
2015-05-07 14:21:51 -07:00
RnbWd
7864197291
added cache
2015-05-06 21:44:10 -07:00
hemanth.hm
7b079a23b5
version 0.25.2
...
We must pick this up from the repo itself.
2015-05-01 15:10:01 +05:30