pinokiod 3.3.52 → 3.3.53
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 +2 -2
- package/package.json +1 -1
package/kernel/bin/vs.js
CHANGED
|
@@ -146,10 +146,10 @@ class VS {
|
|
|
146
146
|
let items = ["Microsoft.VisualStudio.Workload.VCTools"]
|
|
147
147
|
let add = items.map((item) => { return `--add ${item}` }).join(" ")
|
|
148
148
|
if (mode === "repair") {
|
|
149
|
-
let cmd = `start /wait ${filename} ${mode} --passive --wait --nocache`
|
|
149
|
+
let cmd = `start /wait ${filename} ${mode} --passive --wait --nocache --channelId VisualStudio.16.Release`
|
|
150
150
|
return cmd
|
|
151
151
|
} else {
|
|
152
|
-
let cmd = `start /wait ${filename} ${mode === 'uninstall' ? mode: ''} --passive --wait --includeRecommended --nocache ${add}`
|
|
152
|
+
let cmd = `start /wait ${filename} ${mode === 'uninstall' ? mode: ''} --passive --wait --includeRecommended --nocache ${add} --channelId VisualStudio.16.Release`
|
|
153
153
|
return cmd
|
|
154
154
|
}
|
|
155
155
|
}
|