mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
Call packageignore.js after depencies have been installed in Windows (#409)
Otherwise, dependencies used by `packageignore.js`, like Lodash, could not be found. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
15752b2efb
commit
35f42665d2
@ -124,10 +124,6 @@ for /f %%i in (' "node -e ""console.log(require('./package.json').version)""" ')
|
||||
set etcher_version=%%i
|
||||
)
|
||||
|
||||
for /f %%i in (' "node .\scripts\packageignore.js" ') do (
|
||||
set electron_ignore="%%i"
|
||||
)
|
||||
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
:: Configure NPM to build native addons for Electron correctly
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
@ -154,6 +150,10 @@ call bower install
|
||||
:: Package application
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
for /f %%i in (' "node .\scripts\packageignore.js" ') do (
|
||||
set electron_ignore="%%i"
|
||||
)
|
||||
|
||||
call %electron_packager% . %application_name%^
|
||||
--platform=win32^
|
||||
--arch=%electron_arch%^
|
||||
|
Loading…
x
Reference in New Issue
Block a user