pinokiod 3.3.34 → 3.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/bin/vs.js +4 -0
- package/package.json +1 -1
package/kernel/bin/vs.js
CHANGED
|
@@ -12,6 +12,10 @@ class VS {
|
|
|
12
12
|
ondata({ raw: `downloading installer: ${installer_url}...\r\n` })
|
|
13
13
|
await this.kernel.bin.download(installer_url, installer, ondata)
|
|
14
14
|
|
|
15
|
+
// 2.1. Try uninstalling first
|
|
16
|
+
ondata({ raw: `uninstalling existing vs 2019 in case corrupt...\r\n` })
|
|
17
|
+
await this.uninstall(req, data)
|
|
18
|
+
|
|
15
19
|
// 3. Run installer
|
|
16
20
|
if (os.release().startsWith("10")) {
|
|
17
21
|
ondata({ raw: `running installer: ${installer}...\r\n` })
|