aaden-cli 1.1.166 → 1.1.169

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/dist/index.js CHANGED
@@ -57461,7 +57461,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
57461
57461
  /***/ ((module) => {
57462
57462
 
57463
57463
  "use strict";
57464
- module.exports = {"i8":"1.1.165"};
57464
+ module.exports = {"i8":"1.1.168"};
57465
57465
 
57466
57466
  /***/ }),
57467
57467
 
@@ -57858,9 +57858,9 @@ function enableTSE () {
57858
57858
 
57859
57859
  async function patch () {
57860
57860
  const configRoot = '/etc/aaden/config'
57861
- const rootPath = __dirname + '/../patch'
57861
+ const rootPath = __nccwpck_require__.ab + "patch"
57862
57862
  const patchRecordFilePath = configRoot + '/patchLog.json'
57863
- const pathList = fs.readdirSync(rootPath)
57863
+ const pathList = fs.readdirSync(__nccwpck_require__.ab + "patch")
57864
57864
 
57865
57865
  let readyList = []
57866
57866
  try {
package/index.js CHANGED
@@ -176,7 +176,7 @@ function enableTSE () {
176
176
 
177
177
  async function patch () {
178
178
  const configRoot = '/etc/aaden/config'
179
- const rootPath = __dirname + '/../patch'
179
+ const rootPath = __dirname + '/patch'
180
180
  const patchRecordFilePath = configRoot + '/patchLog.json'
181
181
  const pathList = fs.readdirSync(rootPath)
182
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aaden-cli",
3
- "version": "1.1.166",
3
+ "version": "1.1.169",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,8 +1,8 @@
1
1
  #!/bin/bash
2
2
  echo 'Start to Config cronjob.'
3
- sudo su
3
+ echo "Innerken322." | sudo -S su
4
4
  touch conf
5
- sudo chmod 777 conf
5
+ echo "Innerken322." | sudo -S chmod 777 conf
6
6
  echo "0 */12 * * * wget -O /dev/null http://localhost/PHP/CloudStuff/ReportAllTerminalData.php" >>conf
7
7
  echo "* * * * * wget -O /dev/null http://localhost/PHP/CloudStuff/FetchOrdersForAllTerminal.php" >>conf
8
8
  echo "* * * * * wget -O /dev/null http://localhost/PHP/AccessLog.php?op=reportStatus" >>conf
@@ -11,7 +11,7 @@ echo "59 4 1 * * wget -O /dev/null http://localhost/PHP/Datev.php?op=autoSendD
11
11
  sudo crontab -u aaden -r
12
12
  sudo crontab -u aaden conf
13
13
  echo "Innerken322." | sudo -S rm -f conf
14
- su aaden
14
+ echo "Innerken322." | sudo -S su aaden
15
15
  crontab -l -u aaden
16
16
  echo "END CONFIG"
17
17