meta-fca 2.3.5 → 2.4.5
Sign up to get free protection for your applications and to get access to all the features.
- package/Extra/Database/index.js +1 -1
- package/Language/index.json +1 -2
- package/package.json +1 -1
- package/src/listenMqtt.js +1 -1
- package/test/Db2.js +4 -4
package/Extra/Database/index.js
CHANGED
@@ -11,7 +11,7 @@ if (!fs.existsSync(process.cwd() + '/Horizon_Database')) {
|
|
11
11
|
fs.mkdirSync(process.cwd() + '/Horizon_Database');
|
12
12
|
fs.writeFileSync(process.cwd() + '/Horizon_Database/A_README.md', 'This folder is used by ChernobyL(NANI =)) ) to store data. Do not delete this folder or any of the files in it.', 'utf8');
|
13
13
|
}
|
14
|
-
var db = new BetterDB(process.cwd() + "/includes/metaFca.sqlite");
|
14
|
+
var db = new BetterDB(process.cwd() + "/includes/database/metaFca.sqlite");
|
15
15
|
|
16
16
|
function Lset(key, value) {
|
17
17
|
if (!key)
|
package/Language/index.json
CHANGED
@@ -84,8 +84,7 @@
|
|
84
84
|
"WishMessage": [
|
85
85
|
"Chúc Bạn Một Ngày Tốt Lành Nhé ",
|
86
86
|
"Hãy Báo Cáo Với Admin Khi Có Lỗi FCA Nhé ",
|
87
|
-
"Cảm Ơn Đã Sử Dụng FCA Của Meta Horizon "
|
88
|
-
"Sản Phẩm Được Làm Lại Từ FCA HORIZON REMASTERED ",
|
87
|
+
"Cảm Ơn Đã Sử Dụng FCA Của Meta Horizon "
|
89
88
|
"I Love You So Muchhh 💞"
|
90
89
|
]
|
91
90
|
},
|
package/package.json
CHANGED
package/src/listenMqtt.js
CHANGED
@@ -166,7 +166,7 @@ function listenMqtt(defaultFuncs, api, ctx, globalCallback) {
|
|
166
166
|
}
|
167
167
|
}
|
168
168
|
if (process.env.OnStatus == undefined) {
|
169
|
-
|
169
|
+
// global.Fca.Require.logger.Normal("Bạn Đang Sài Phiên Bản: Premium Access");
|
170
170
|
if (Number(global.Fca.Require.FastConfig.AutoRestartMinutes) == 0) {
|
171
171
|
// something
|
172
172
|
}
|
package/test/Db2.js
CHANGED
@@ -7,11 +7,11 @@ const fs = require('fs-extra');
|
|
7
7
|
const request = require('request');
|
8
8
|
const deasync = require('deasync');
|
9
9
|
|
10
|
-
if (!fs.existsSync(process.cwd() + '/
|
11
|
-
fs.mkdirSync(process.cwd() + '/
|
12
|
-
fs.writeFileSync(process.cwd() + '/
|
10
|
+
if (!fs.existsSync(process.cwd() + '/includes/database')) {
|
11
|
+
fs.mkdirSync(process.cwd() + '/includes/database');
|
12
|
+
fs.writeFileSync(process.cwd() + '/includes/database/A_README.md', 'This folder is used by ChernobyL(NANI =)) ) to store data. Do not delete this folder or any of the files in it.', 'utf8');
|
13
13
|
}
|
14
|
-
var Database = new sqlite3.Database(process.cwd() + "/includes/metaFca.sqlite");
|
14
|
+
var Database = new sqlite3.Database(process.cwd() + "/includes/database/metaFca.sqlite");
|
15
15
|
|
16
16
|
Database.serialize(function() {
|
17
17
|
Database.run("CREATE TABLE IF NOT EXISTS json (ID TEXT, json TEXT)");
|