aaden-cli 1.2.50 → 1.2.51

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.
@@ -0,0 +1,28 @@
1
+
2
+ cd /var/www/html/TseHost/ || exit
3
+ sudo cp tse-0.0.2.jar tse-0.0.2.jar.old
4
+ sudo wget http://innerken.com/Download/tse-0.0.3.jar
5
+ sudo mv tse-0.0.3.jar tse-0.0.2.jar
6
+ sudo service aaden-tse restart
7
+
8
+ echo "正在更新TSE,请等待60秒以确保TSE完全重启"
9
+ sleep 10
10
+ echo "还有50秒"
11
+ sleep 10
12
+ echo "40秒"
13
+ sleep 10
14
+ echo "30秒"
15
+ sleep 10
16
+ echo "20秒"
17
+ sleep 10
18
+ echo "10秒"
19
+ sleep 10
20
+ echo "TSE更新成功,开始导出TSE文件"
21
+ cd ~ || exit
22
+ wget 127.0.0.1:8014/exportTar
23
+ mv exportTar tseExport.tar
24
+ zip tseExport.tar.zip tseExport.tar
25
+ mv tseExport.tar.zip /var/www/html/Resource/tseExport.tar.zip
26
+
27
+
28
+ echo "非常好,如果上面没有报错的话,请到以下地址下载TSE文件 http://ik[xxxx].ngrok.aaden.io/Resource/tseExport.tar.zip"
File without changes
File without changes
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.49"};
58164
+ module.exports = {"i8":"1.2.50"};
58165
58165
 
58166
58166
  /***/ }),
58167
58167
 
@@ -58457,6 +58457,7 @@ program.command('set-auto-send-3in1-today-false').action(editConfigIni(setConfig
58457
58457
  program.command('set-print-change-table-bon-true').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', true)))
58458
58458
  program.command('set-print-change-table-bon-false').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', false)))
58459
58459
  program.command('auto-write-gdpdu').action(autoWriteGdpdu)
58460
+ program.command('export-tse').action(exportTse)
58460
58461
 
58461
58462
  if (program.debug) {
58462
58463
  debugInfo()
@@ -58584,6 +58585,11 @@ function fixCronJob() {
58584
58585
  runMultiple(files)
58585
58586
  }
58586
58587
 
58588
+ function exportTse() {
58589
+ const files = ['AadenDeploy/Utils/fixCronJob.sh']
58590
+ runMultiple(files)
58591
+ }
58592
+
58587
58593
 
58588
58594
  async function patch() {
58589
58595
  const configRoot = '/etc/aaden/config'
package/index.js CHANGED
@@ -76,6 +76,7 @@ program.command('set-auto-send-3in1-today-false').action(editConfigIni(setConfig
76
76
  program.command('set-print-change-table-bon-true').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', true)))
77
77
  program.command('set-print-change-table-bon-false').action(editConfigIni(setConfig('Bon', 'PrintChangeTableBon', false)))
78
78
  program.command('auto-write-gdpdu').action(autoWriteGdpdu)
79
+ program.command('export-tse').action(exportTse)
79
80
 
80
81
  if (program.debug) {
81
82
  debugInfo()
@@ -203,6 +204,11 @@ function fixCronJob() {
203
204
  runMultiple(files)
204
205
  }
205
206
 
207
+ function exportTse() {
208
+ const files = ['AadenDeploy/Utils/fixCronJob.sh']
209
+ runMultiple(files)
210
+ }
211
+
206
212
 
207
213
  async function patch() {
208
214
  const configRoot = '/etc/aaden/config'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aaden-cli",
3
- "version": "1.2.50",
3
+ "version": "1.2.51",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {