pinokiod 3.4.4 → 3.4.6
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/vs.js +15 -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/vs.js
CHANGED
|
@@ -152,13 +152,23 @@ 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 ^
|
|
165
|
+
--add Microsoft.VisualStudio.Workload.VCTools ^
|
|
166
|
+
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ^
|
|
167
|
+
--add Microsoft.VisualStudio.Component.Windows10SDK.19041 ^
|
|
168
|
+
--add Microsoft.VisualStudio.Component.VC.CMake.Project ^
|
|
169
|
+
--add Microsoft.VisualStudio.Component.VC.ATL ^
|
|
170
|
+
--includeRecommended`
|
|
171
|
+
return command
|
|
162
172
|
}
|
|
163
173
|
}
|
|
164
174
|
module.exports = VS
|