fix: allow renaming electron.exe (#15173)

This commit is contained in:
Jeremy Apthorp 2018-10-15 17:26:34 -07:00 committed by GitHub
parent 0c711f690e
commit 30ccb6aea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 0 deletions

6
build/electron.def Normal file
View file

@ -0,0 +1,6 @@
; This is to support renaming of electron.exe. node-gyp has hard-coded
; executable names which it will recognise as node. This module definition
; file claims that the electron executable is in fact named "node.exe",
; which is one of the executable names that node-gyp recognizes.
; See https://github.com/nodejs/node-gyp/commit/52ceec3a6d15de3a8f385f43dbe5ecf5456ad07a
NAME node.exe