aaden-cli 1.2.19 → 1.2.21

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.
File without changes
File without changes
File without changes
@@ -4,8 +4,9 @@
4
4
 
5
5
  echo "Innerken322." | sudo -S mkdir -p /etc/aaden/config
6
6
  echo "Innerken322." | sudo -S chmod -R 777 /etc/aaden/config
7
-
8
7
  echo "Innerken322." | sudo -S npm update aaden-cli -g
9
8
 
9
+ ln -s /usr/bin/aaden-cli /usr/local/bin/aaden-cli
10
+
10
11
  /usr/local/bin/aaden-cli patch
11
12
  /usr/local/bin/aaden-cli load-new-version
package/dist/index.js CHANGED
@@ -58161,7 +58161,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
58161
58161
  /***/ ((module) => {
58162
58162
 
58163
58163
  "use strict";
58164
- module.exports = {"i8":"1.2.18"};
58164
+ module.exports = {"i8":"1.2.20"};
58165
58165
 
58166
58166
  /***/ }),
58167
58167
 
@@ -1,9 +1,8 @@
1
1
  #!/bin/bash
2
2
 
3
-
4
3
  DeviceId=$(cat /var/www/html/Resource/config/config.ini | grep -e DeviceId | cut -d = -f 2 | grep '[1-9]*' | sed 's/"//g')
5
4
  aaden-cli update-ngrok-config $DeviceId
6
-
5
+ ln -s /usr/bin/aaden-cli /usr/local/bin/aaden-cli
7
6
 
8
7
  ServiceFileName=/etc/systemd/system/aaden-ngrok.service
9
8
 
@@ -22,9 +21,8 @@ ExecStart=/usr/local/bin/aaden-cli ngrok
22
21
 
23
22
  [Install]
24
23
  WantedBy=multi-user.target
25
- " > $ServiceFileName
24
+ " >$ServiceFileName
26
25
 
27
26
  sudo systemctl start aaden-ngrok.service
28
27
  sudo systemctl enable aaden-ngrok.service
29
28
  sudo systemctl daemon-reload
30
-
package/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aaden-cli",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,9 +1,8 @@
1
1
  #!/bin/bash
2
2
 
3
-
4
3
  DeviceId=$(cat /var/www/html/Resource/config/config.ini | grep -e DeviceId | cut -d = -f 2 | grep '[1-9]*' | sed 's/"//g')
5
4
  aaden-cli update-ngrok-config $DeviceId
6
-
5
+ ln -s /usr/bin/aaden-cli /usr/local/bin/aaden-cli
7
6
 
8
7
  ServiceFileName=/etc/systemd/system/aaden-ngrok.service
9
8
 
@@ -22,9 +21,8 @@ ExecStart=/usr/local/bin/aaden-cli ngrok
22
21
 
23
22
  [Install]
24
23
  WantedBy=multi-user.target
25
- " > $ServiceFileName
24
+ " >$ServiceFileName
26
25
 
27
26
  sudo systemctl start aaden-ngrok.service
28
27
  sudo systemctl enable aaden-ngrok.service
29
28
  sudo systemctl daemon-reload
30
-