aaden-cli 1.2.39 → 1.2.40

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.
@@ -6,4 +6,4 @@ delete from Zbon where 1=1;
6
6
  delete from AccessLog where 1=1;
7
7
  delete from PrintQuest where 1=1;
8
8
  delete from PaymentLog where 1=1;
9
-
9
+ delete from ZbonCombiendRecord where 1=1;
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.38"};
58164
+ module.exports = {"i8":"1.2.39"};
58165
58165
 
58166
58166
  /***/ }),
58167
58167
 
@@ -0,0 +1,28 @@
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
+ sudo ln -sf /usr/bin/aaden-cli /usr/local/bin/aaden-cli
6
+ ServiceFileName=/etc/systemd/system/aaden-ngrok.service
7
+
8
+ sudo touch $ServiceFileName
9
+ sudo chmod 777 $ServiceFileName
10
+ echo -e "
11
+ [Unit]
12
+ Description=Ngrok Service For Aaden
13
+
14
+ [Service]
15
+ Type=simple
16
+ Restart=always
17
+ RestartSec=1
18
+ User=root
19
+ ExecStart=/usr/local/bin/aaden-cli ngrok
20
+
21
+ [Install]
22
+ WantedBy=multi-user.target
23
+ " >$ServiceFileName
24
+
25
+ sudo systemctl daemon-reload
26
+ sudo systemctl start aaden-ngrok.service
27
+ sudo systemctl enable aaden-ngrok.service
28
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aaden-cli",
3
- "version": "1.2.39",
3
+ "version": "1.2.40",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {