aaden-cli 1.3.6 → 1.3.8
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 +20 -0
- package/AadenDeploy/files/getFile.sh +0 -0
- package/AadenDeploy/ngrok/ngrok +0 -0
- package/AadenDeploy/update.sh +0 -0
- package/dist/index.js +8 -8
- package/index.js +7 -7
- package/package.json +1 -1
|
@@ -29,3 +29,23 @@ sudo systemctl enable aaden-ngrok.service
|
|
|
29
29
|
|
|
30
30
|
sudo service aaden-ngrok restart
|
|
31
31
|
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
ServiceFileName=/etc/avahi/services/aaden.service
|
|
35
|
+
sudo touch $ServiceFileName
|
|
36
|
+
sudo chmod 777 $ServiceFileName
|
|
37
|
+
echo -e "
|
|
38
|
+
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
|
|
39
|
+
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
|
40
|
+
<service-group>
|
|
41
|
+
<name replace-wildcards="yes">%h AadenOS CORE</name>
|
|
42
|
+
<service>
|
|
43
|
+
<type>_aadencore._tcp</type>
|
|
44
|
+
<port>80</port>
|
|
45
|
+
</service>
|
|
46
|
+
</service-group>
|
|
47
|
+
" >$ServiceFileName
|
|
48
|
+
|
|
49
|
+
sudo service avahi-daemon restart
|
|
50
|
+
|
|
51
|
+
|
|
File without changes
|
package/AadenDeploy/ngrok/ngrok
CHANGED
|
File without changes
|
package/AadenDeploy/update.sh
CHANGED
|
File without changes
|
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.3.
|
|
58164
|
+
module.exports = {"i8":"1.3.7"};
|
|
58165
58165
|
|
|
58166
58166
|
/***/ }),
|
|
58167
58167
|
|
|
@@ -58718,13 +58718,13 @@ async function backup(noUpload = false) {
|
|
|
58718
58718
|
]
|
|
58719
58719
|
|
|
58720
58720
|
cli.executeInShell(command, program.debug)
|
|
58721
|
-
if (!noUpload) {
|
|
58722
|
-
|
|
58723
|
-
|
|
58724
|
-
|
|
58725
|
-
|
|
58726
|
-
|
|
58727
|
-
}
|
|
58721
|
+
// if (!noUpload) {
|
|
58722
|
+
// setTimeout(() => {
|
|
58723
|
+
// const homedir = require('os').homedir()
|
|
58724
|
+
// const fileName = [homedir, 'backups', timeStamp, `${timeStamp}@cli.sql`].join('/')
|
|
58725
|
+
// uploadFile(fileName)
|
|
58726
|
+
// }, 8000)
|
|
58727
|
+
// }
|
|
58728
58728
|
|
|
58729
58729
|
|
|
58730
58730
|
}
|
package/index.js
CHANGED
|
@@ -337,13 +337,13 @@ async function backup(noUpload = false) {
|
|
|
337
337
|
]
|
|
338
338
|
|
|
339
339
|
cli.executeInShell(command, program.debug)
|
|
340
|
-
if (!noUpload) {
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}
|
|
340
|
+
// if (!noUpload) {
|
|
341
|
+
// setTimeout(() => {
|
|
342
|
+
// const homedir = require('os').homedir()
|
|
343
|
+
// const fileName = [homedir, 'backups', timeStamp, `${timeStamp}@cli.sql`].join('/')
|
|
344
|
+
// uploadFile(fileName)
|
|
345
|
+
// }, 8000)
|
|
346
|
+
// }
|
|
347
347
|
|
|
348
348
|
|
|
349
349
|
}
|