mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +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(
|
||||
run,
|
||||
['node_modules/.bin/electron-rebuild', '--types', 'dev', '--arch', context.arch],
|
||||
{
|
||||
env: {
|
||||
...process.env,
|
||||
npm_config_msvs_version: '2019',
|
||||
},
|
||||
},
|
||||
);
|
||||
rimraf.sync('generated');
|
||||
cp.execFileSync(
|
||||
|
Loading…
x
Reference in New Issue
Block a user