aaden-cli 1.6.62 → 1.6.64
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/AadenDeploy/Utils/enableNgrok.sh +2 -2
- package/dist/index.js +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
sudo npm config set prefix /usr/local
|
|
4
4
|
cd || exit
|
|
5
5
|
wget aaden.online/ngrok
|
|
6
|
-
cp -f ngrok /etc/aaden/ngrok
|
|
7
|
-
chmod +x /etc/aaden/ngrok
|
|
6
|
+
sudo cp -f ngrok /etc/aaden/ngrok
|
|
7
|
+
sudo chmod +x /etc/aaden/ngrok
|
|
8
8
|
|
|
9
9
|
DeviceId=$(cat /var/www/html/Resource/config/config.ini | grep -e DeviceId | cut -d = -f 2 | grep '[1-9]*' | sed 's/"//g')
|
|
10
10
|
aaden-cli update-ngrok-config $DeviceId
|
package/dist/index.js
CHANGED
|
@@ -18459,7 +18459,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
|
|
|
18459
18459
|
/***/ ((module) => {
|
|
18460
18460
|
|
|
18461
18461
|
"use strict";
|
|
18462
|
-
module.exports = {"i8":"1.6.
|
|
18462
|
+
module.exports = {"i8":"1.6.64"};
|
|
18463
18463
|
|
|
18464
18464
|
/***/ })
|
|
18465
18465
|
|
|
@@ -19122,7 +19122,7 @@ async function removeAllData() {
|
|
|
19122
19122
|
|
|
19123
19123
|
function getUpTime() {
|
|
19124
19124
|
try {
|
|
19125
|
-
return cli.executeInShell(['uptime'], program.debug, true).output.split(',')[0]
|
|
19125
|
+
return cli.executeInShell(['uptime'], program.debug, true).output.split(',')[0].split(' up ')[1]
|
|
19126
19126
|
} catch (e) {
|
|
19127
19127
|
return e.message
|
|
19128
19128
|
}
|
package/index.js
CHANGED
|
@@ -589,7 +589,7 @@ async function removeAllData() {
|
|
|
589
589
|
|
|
590
590
|
function getUpTime() {
|
|
591
591
|
try {
|
|
592
|
-
return cli.executeInShell(['uptime'], program.debug, true).output.split(',')[0]
|
|
592
|
+
return cli.executeInShell(['uptime'], program.debug, true).output.split(',')[0].split(' up ')[1]
|
|
593
593
|
} catch (e) {
|
|
594
594
|
return e.message
|
|
595
595
|
}
|