This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Replace bundled Node with electron in ELECTRON_RUN_AS_NODE mode
This will allow us to require files from asar bundles and will avoid the need to vendor node.
- Loading branch information
Nathan Sobo
committed
Jul 25, 2016
1 parent
f0bd2a4
commit 230a25f
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/node_modules/ | ||
/bin/node* | ||
/lib/ | ||
.DS_Store | ||
npm-debug.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,5 @@ | |
npm-debug.log | ||
spec/ | ||
tasks/ | ||
bin/node | ||
.travis.yml | ||
.pairs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ELECTRON_RUN_AS_NODE=1 "/Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper" $@ | ||
|
||
# TODO: Make this run Electron as node on the various platforms | ||
# What if there is no Atom yet? How do we find the downloaded electron? The answer may be just a hard-coded environment variable |