pinokiod 3.4.5 → 3.4.7
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/conda.js +1 -2
- package/kernel/bin/uv.js +1 -1
- package/kernel/bin/vs.js +9 -5
- package/package.json +1 -1
package/kernel/bin/conda.js
CHANGED
|
@@ -79,8 +79,7 @@ report_errors: false`)
|
|
|
79
79
|
// }
|
|
80
80
|
let pinned_exists = await this.kernel.exists("bin/miniconda/conda-meta")
|
|
81
81
|
if (pinned_exists) {
|
|
82
|
-
await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.3
|
|
83
|
-
uv=0.5.21`)
|
|
82
|
+
await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.3`)
|
|
84
83
|
// await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.9.0`)
|
|
85
84
|
// await fs.promises.writeFile(this.kernel.path('bin/miniconda/conda-meta/pinned'), `conda=24.11.2
|
|
86
85
|
//conda-libmamba-solver=24.11.1`)
|
package/kernel/bin/uv.js
CHANGED
package/kernel/bin/vs.js
CHANGED
|
@@ -152,13 +152,17 @@ class VS {
|
|
|
152
152
|
const filename = this.kernel.bin.path("vs_buildtools.exe")
|
|
153
153
|
let items = ["Microsoft.VisualStudio.Workload.VCTools"]
|
|
154
154
|
let add = items.map((item) => { return `--add ${item}` }).join(" ")
|
|
155
|
+
|
|
156
|
+
let cmd
|
|
155
157
|
if (mode === "repair") {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
158
|
+
cmd = `${filename} ${mode}`
|
|
159
|
+
} else if (mode === "uninstall") {
|
|
160
|
+
cmd = `${filename} ${mode}`
|
|
161
|
+
} else if (mode === "install") {
|
|
162
|
+
cmd = `${filename}`
|
|
161
163
|
}
|
|
164
|
+
const command = `start /wait ${cmd} --passive --wait --nocache --channelId VisualStudio.16.Release --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --includeRecommended`
|
|
165
|
+
return command
|
|
162
166
|
}
|
|
163
167
|
}
|
|
164
168
|
module.exports = VS
|