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.
@@ -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
@@ -7,7 +7,7 @@ class UV {
7
7
  await this.kernel.bin.exec({
8
8
  message: [
9
9
  "conda clean -y --all",
10
- "conda install -y -c conda-forge uv=0.5.21",
10
+ "conda install -y -c conda-forge uv",
11
11
  ]
12
12
  // conda: {
13
13
  // name: "base",
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
- let cmd = `start /wait ${filename} ${mode} --passive --wait --nocache --channelId VisualStudio.16.Release`
157
- return cmd
158
- } else {
159
- let cmd = `start /wait ${filename} ${mode === 'uninstall' ? mode: ''} --passive --wait --includeRecommended --nocache ${add} --channelId VisualStudio.16.Release`
160
- return cmd
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.4.5",
3
+ "version": "3.4.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {