Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Eli Skeggs 5521f8acca
feat: allow path override with --ignore-scripts (#25377)
If you --ignore-scripts when installing electron currently, it'll fail
to write the path.txt file and thus fail to use the override dist path.
Open to other solutions - just hoping to be able to use a prebuilt
electron binary with the default package without having to muck around
with it installing an unused version.
2020-12-03 16:23:44 +09:00
David Sanders 2aa5a1f494
build: lint the npm folder (#26085) 2020-10-21 15:43:52 -07: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 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
Zeke Sikelianos 24ef8cc8ce hardcode module path in error message 2017-02-08 11:36:38 -08:00
Kevin Sawicki d9d47344c1 Remove semicolon 2016-12-28 09:29:37 -08:00
Samuel Attard b85ec95975 Get package name from folder path 2016-12-28 09:19:18 -08:00
Samuel Attard 5c8ebb296c Update index.js 2016-12-28 09:19:18 -08: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
Max Ogden 1809db5669 use standard js style 2015-03-04 13:08:16 -08:00
Mathias Buus 99aa39b854 separate path file 2014-11-15 10:21:07 +01:00
Mathias Buus 1f3c285ccf fix spaces in path issue 2014-10-20 14:40:06 +09:00
Mathias Buus c1dc3e09a8 better cross platform support 2014-10-20 13:58:52 +09:00