-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #368 from felixrieseberg/fix-electron3
Fix for testing against electron 3 on windows
- Loading branch information
Showing
3 changed files
with
12 additions
and
12 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 |
---|---|---|
|
@@ -66,18 +66,10 @@ module.exports = class EmberElectronBlueprint extends Blueprint { | |
|
||
logger.startProgress('Installing electron build tools'); | ||
|
||
return npmInstall.run({ | ||
// FIXME: Something seems to break in Windows with electron v3.0.0 | ||
// This is a hack to make electron-forge install electron 2.x instead of 'latest' (3.x) into the project | ||
// See https://github.com/electron-userland/electron-forge/blob/5.x/src/api/import.js#L179 | ||
save: true, | ||
verbose: false, | ||
packages: ['[email protected]'], | ||
}) | ||
.then(() => efImport({ | ||
return efImport({ | ||
updateScripts: false, | ||
outDir: 'electron-out', | ||
})) | ||
}) | ||
.then(() => npmInstall.run({ | ||
'save-dev': true, | ||
verbose: false, | ||
|
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
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