aaden-cli 1.2.49 → 1.2.50
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
|
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.2.
|
|
58164
|
+
module.exports = {"i8":"1.2.49"};
|
|
58165
58165
|
|
|
58166
58166
|
/***/ }),
|
|
58167
58167
|
|
|
@@ -58454,6 +58454,8 @@ program.command('set-do-not-send-zbon-when-print-true').action(editConfigIni(set
|
|
|
58454
58454
|
program.command('set-do-not-send-zbon-when-print-false').action(editConfigIni(setConfig('Email', 'DoNotSendZbonWhenPrint', false)))
|
|
58455
58455
|
program.command('set-auto-send-3in1-today-true').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', true)))
|
|
58456
58456
|
program.command('set-auto-send-3in1-today-false').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', false)))
|
|
58457
|
+
program.command('set-print-change-table-bon-true').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', true)))
|
|
58458
|
+
program.command('set-print-change-table-bon-false').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', false)))
|
|
58457
58459
|
program.command('auto-write-gdpdu').action(autoWriteGdpdu)
|
|
58458
58460
|
|
|
58459
58461
|
if (program.debug) {
|
package/index.js
CHANGED
|
@@ -73,6 +73,8 @@ program.command('set-do-not-send-zbon-when-print-true').action(editConfigIni(set
|
|
|
73
73
|
program.command('set-do-not-send-zbon-when-print-false').action(editConfigIni(setConfig('Email', 'DoNotSendZbonWhenPrint', false)))
|
|
74
74
|
program.command('set-auto-send-3in1-today-true').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', true)))
|
|
75
75
|
program.command('set-auto-send-3in1-today-false').action(editConfigIni(setConfig('Email', 'AutoSend3in1Today', false)))
|
|
76
|
+
program.command('set-print-change-table-bon-true').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', true)))
|
|
77
|
+
program.command('set-print-change-table-bon-false').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', false)))
|
|
76
78
|
program.command('auto-write-gdpdu').action(autoWriteGdpdu)
|
|
77
79
|
|
|
78
80
|
if (program.debug) {
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
DeviceId=$(cat /var/www/html/Resource/config/config.ini | grep -e DeviceId | cut -d = -f 2 | grep '[1-9]*' | sed 's/"//g')
|
|
4
|
-
aaden-cli update-ngrok-config $DeviceId
|
|
5
|
-
ln -s /usr/bin/aaden-cli /usr/local/bin/aaden-cli
|
|
6
|
-
|
|
7
|
-
ServiceFileName=/etc/systemd/system/aaden-ngrok.service
|
|
8
|
-
|
|
9
|
-
sudo touch $ServiceFileName
|
|
10
|
-
sudo chmod 777 $ServiceFileName
|
|
11
|
-
echo -e "
|
|
12
|
-
[Unit]
|
|
13
|
-
Description=Ngrok Service For Aaden
|
|
14
|
-
|
|
15
|
-
[Service]
|
|
16
|
-
Type=simple
|
|
17
|
-
Restart=always
|
|
18
|
-
RestartSec=1
|
|
19
|
-
User=root
|
|
20
|
-
ExecStart=/usr/local/bin/aaden-cli ngrok
|
|
21
|
-
|
|
22
|
-
[Install]
|
|
23
|
-
WantedBy=multi-user.target
|
|
24
|
-
" >$ServiceFileName
|
|
25
|
-
|
|
26
|
-
sudo systemctl start aaden-ngrok.service
|
|
27
|
-
sudo systemctl enable aaden-ngrok.service
|
|
28
|
-
sudo systemctl daemon-reload
|