nodeswitch 1.9.6 → 1.9.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.
package/README.md CHANGED
@@ -4,6 +4,10 @@ Node version switcher for Microsoft Windows x64
4
4
 
5
5
  https://github.com/alexsch01/nodeswitch
6
6
 
7
+ #### Linux Version
8
+
9
+ https://github.com/alexsch01/nodeswitch-linux
10
+
7
11
  <br>
8
12
 
9
13
  #### How To Install
package/bin/nodeswitch.sh CHANGED
@@ -37,7 +37,7 @@ if [ "$1" != "" ]; then
37
37
  if [ $? -ne 0 ]; then
38
38
  rm $nodeswitchAPPDATA/nodeswitch/$2.zip
39
39
  echo "Node version not created"
40
- exit
40
+ return 1
41
41
  fi
42
42
 
43
43
  unzip -d $nodeswitchAPPDATA/nodeswitch -o $nodeswitchAPPDATA/nodeswitch/$2.zip > /dev/null
@@ -46,7 +46,7 @@ if [ "$1" != "" ]; then
46
46
  rm $nodeswitchAPPDATA/nodeswitch/$2.zip
47
47
  rm -rf $nodeswitchAPPDATA/nodeswitch/node-v$2-win-x64
48
48
  echo "Node version not created"
49
- exit
49
+ return 1
50
50
  fi
51
51
 
52
52
  rm $nodeswitchAPPDATA/nodeswitch/$2.zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodeswitch",
3
- "version": "1.9.6",
3
+ "version": "1.9.7",
4
4
  "description": "Node version switcher for Microsoft Windows x64",
5
5
  "scripts": {
6
6
  "preinstall": "node scripts/preinstall.js",
@@ -19,3 +19,4 @@
19
19
  }
20
20
 
21
21
 
22
+