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
spec/fixtures/module/runas-renamed.js vendored Normal file
View file

@ -0,0 +1,6 @@
try {
require('runas')
} catch (e) {
process.exit(1)
}
process.exit(0)