@jetbrains/junie-cli 562.3.0 → 576.1.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 +15 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/junie-cli",
|
|
3
|
-
"version": "
|
|
4
|
-
"junieVersion": "
|
|
3
|
+
"version": "576.1.0",
|
|
4
|
+
"junieVersion": "576.1",
|
|
5
5
|
"description": "Junie command‑line client",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
7
7
|
"repository": "https://github.com/jetbrains-junie/junie",
|
package/postinstall.js
CHANGED
|
@@ -7,6 +7,21 @@ const unzipper = require('unzipper')
|
|
|
7
7
|
const os = require("os")
|
|
8
8
|
const { getExpectedBinaryPath } = require("./getExecutable")
|
|
9
9
|
|
|
10
|
+
// Check for Windows early and exit gracefully
|
|
11
|
+
if (os.platform() === 'win32') {
|
|
12
|
+
console.log('')
|
|
13
|
+
console.log('╭──────────────────────────────────────────────────────╮')
|
|
14
|
+
console.log('│ │')
|
|
15
|
+
console.log('│ Junie CLI does not support Windows yet. │')
|
|
16
|
+
console.log('│ Supported platforms: macOS, Linux │')
|
|
17
|
+
console.log('│ │')
|
|
18
|
+
console.log('│ Stay tuned for Windows support in future releases! │')
|
|
19
|
+
console.log('│ │')
|
|
20
|
+
console.log('╰──────────────────────────────────────────────────────╯')
|
|
21
|
+
console.log('')
|
|
22
|
+
process.exit(0)
|
|
23
|
+
}
|
|
24
|
+
|
|
10
25
|
const ARCH_MAP = {
|
|
11
26
|
x64: 'amd64',
|
|
12
27
|
amd64: 'amd64',
|