mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +00:00
Set msvs_version to 2019 when rebuilding
Change-type: patch
This commit is contained in:
parent
6ece32c546
commit
3730efd350
@ -11,6 +11,12 @@ exports.default = function(context) {
|
|||||||
cp.execFileSync(
|
cp.execFileSync(
|
||||||
run,
|
run,
|
||||||
['node_modules/.bin/electron-rebuild', '--types', 'dev', '--arch', context.arch],
|
['node_modules/.bin/electron-rebuild', '--types', 'dev', '--arch', context.arch],
|
||||||
|
{
|
||||||
|
env: {
|
||||||
|
...process.env,
|
||||||
|
npm_config_msvs_version: '2019',
|
||||||
|
},
|
||||||
|
},
|
||||||
);
|
);
|
||||||
rimraf.sync('generated');
|
rimraf.sync('generated');
|
||||||
cp.execFileSync(
|
cp.execFileSync(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user