@jetbrains/junie-cli 888.26.0 → 888.57.0
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/package.json +2 -2
- package/postinstall.js +7 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/junie-cli",
|
|
3
|
-
"version": "888.
|
|
4
|
-
"junieVersion": "888.
|
|
3
|
+
"version": "888.57.0",
|
|
4
|
+
"junieVersion": "888.57",
|
|
5
5
|
"description": "Junie command‑line client",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
7
|
"repository": "https://github.com/JetBrains/junie",
|
package/postinstall.js
CHANGED
|
@@ -10,14 +10,12 @@ const { execSync } = require("child_process")
|
|
|
10
10
|
// Check for Windows early and exit gracefully
|
|
11
11
|
if (os.platform() === 'win32') {
|
|
12
12
|
console.log('')
|
|
13
|
-
console.log('
|
|
14
|
-
console.log('
|
|
15
|
-
console.log('
|
|
16
|
-
console.log('
|
|
17
|
-
console.log('
|
|
18
|
-
console.log('
|
|
19
|
-
console.log('│ │')
|
|
20
|
-
console.log('╰──────────────────────────────────────────────────────╯')
|
|
13
|
+
console.log('')
|
|
14
|
+
console.log('Windows support is currently experimental.')
|
|
15
|
+
console.log('Please install using PowerShell:')
|
|
16
|
+
console.log('')
|
|
17
|
+
console.log("powershell -NoProfile -ExecutionPolicy Bypass -Command \"iex (irm 'https://junie.jetbrains.com/install.ps1')\"")
|
|
18
|
+
console.log('')
|
|
21
19
|
console.log('')
|
|
22
20
|
process.exit(0)
|
|
23
21
|
}
|
|
@@ -51,7 +49,7 @@ function resolveTarget() {
|
|
|
51
49
|
function buildUrl({arch, osName}) {
|
|
52
50
|
const JUNIE_VERSION = require("./package.json").junieVersion
|
|
53
51
|
const tag = `${JUNIE_VERSION}`
|
|
54
|
-
return `https://github.com/JetBrains/junie/releases/download/${tag}/junie-
|
|
52
|
+
return `https://github.com/JetBrains/junie/releases/download/${tag}/junie-release-${JUNIE_VERSION}-${osName}-${arch}.zip`
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
function stripQuarantine(targetPath) {
|