This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Visual C++ Redistributable and postinstall script
* Add Visual C++ Redistributable and postinstall script * Update protocol.json * Update protocol.json * Fix travis error
- Loading branch information
Showing
7 changed files
with
4,224 additions
and
1,430 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
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
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const child = require('child_process'); | ||
const path = require('path'); | ||
|
||
const arch = process.arch; | ||
|
||
console.log(`Installing Microsoft Visual C++ 2017 Redistributable (${arch})`); | ||
const command = `${path.join(__dirname, '..', 'redistributable', `VC_redist.${arch}.exe`)} /quiet /norestart`; | ||
|
||
child.execSync(command); | ||
|
||
console.log(`Microsoft Visual C++ 2017 Redistributable (${arch}) Installed`); |
Large diffs are not rendered by default.
Oops, something went wrong.