fca-dragon 1.0.4 → 1.0.6
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/Extra/Database/index.js +1 -1
- package/Extra/Src/Check_Update.js +1 -1
- package/FastConfigFca.json +1 -1
- package/Language/index.json +2 -2
- package/index.js +1 -1
- package/package.json +1 -1
- package/src/listenMqtt.js +1 -1
package/Extra/Database/index.js
CHANGED
@@ -4,7 +4,7 @@ module.exports = async function(Stable_Version) {
|
|
4
4
|
const fs = require('fs');
|
5
5
|
const Database = require('../Database');
|
6
6
|
const { execSync } = require('child_process');
|
7
|
-
const { body } = await got('https://raw.githubusercontent.com/hoangquangtuong/fca-Dragon/main/package.json
|
7
|
+
const { body } = await got('https://raw.githubusercontent.com/hoangquangtuong/fca-Dragon/main/package.json');
|
8
8
|
const json = JSON.parse(body);
|
9
9
|
const LocalVersion = require('../../package.json').version;
|
10
10
|
if (Number(LocalVersion.replace(/\./g,"")) < Number(json.version.replace(/\./g,"")) && global.Fca.Require.FastConfig.Stable_Version.Accept == false || Stable_Version && Number(LocalVersion.replace(/\./g,"")) != Number(Stable_Version.replace(/\./g,""))) {
|
package/FastConfigFca.json
CHANGED
package/Language/index.json
CHANGED
@@ -86,7 +86,7 @@
|
|
86
86
|
"WishMessage": [
|
87
87
|
"Chúc Bạn Một Ngày Tốt Lành Nhé !",
|
88
88
|
"Hãy Báo Cáo Với Admin Khi Có Lỗi Fca Nhé !",
|
89
|
-
"Cảm Ơn Đã Sử Dụng Fca Của
|
89
|
+
"Cảm Ơn Đã Sử Dụng Fca Của Dragon !"
|
90
90
|
]
|
91
91
|
},
|
92
92
|
"ExtraGetThread": {
|
@@ -194,7 +194,7 @@
|
|
194
194
|
"WishMessage": [
|
195
195
|
"Have a Nice Day !",
|
196
196
|
"Please Report To Admin When There Is Error in FCA !",
|
197
|
-
"Thank You For Using
|
197
|
+
"Thank You For Using Dragon's FCA !"
|
198
198
|
]
|
199
199
|
},
|
200
200
|
"ExtraGetThread": {
|
package/index.js
CHANGED
@@ -74,7 +74,7 @@ global.Fca = new Object({
|
|
74
74
|
},
|
75
75
|
"LogFile": {
|
76
76
|
"Use": false,
|
77
|
-
"Explain": "Record memory usage logs to fix errors. Default location:
|
77
|
+
"Explain": "Record memory usage logs to fix errors. Default location: Dragon_Database/memory.logs"
|
78
78
|
}
|
79
79
|
}
|
80
80
|
},
|
package/package.json
CHANGED
package/src/listenMqtt.js
CHANGED
@@ -211,7 +211,7 @@ function listenMqtt(defaultFuncs, api, ctx, globalCallback) {
|
|
211
211
|
maxThreshold: 0.9,
|
212
212
|
interval: 60 * 1000,
|
213
213
|
logLevel: 'warn',
|
214
|
-
logFile: path.join(process.cwd(), '
|
214
|
+
logFile: path.join(process.cwd(), 'Dragon_Database' ,'memory.log'),
|
215
215
|
smartReleaseEnabled: true,
|
216
216
|
allowLog: (global.Fca.Require.FastConfig.AntiStuckAndMemoryLeak.LogFile.Use || false)
|
217
217
|
};
|