meta-fca 2.3.5 → 2.4.7

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.
@@ -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)
@@ -85,7 +85,6 @@
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
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 ",
89
88
  "I Love You So Muchhh 💞"
90
89
  ]
91
90
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-fca",
3
- "version": "2.3.5",
3
+ "version": "2.4.7",
4
4
  "description": "Comback :))",
5
5
  "main": "index.js",
6
6
  "scripts": {
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
- global.Fca.Require.logger.Normal("Bạn Đang Sài Phiên Bản: Premium Access");
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() + '/Horizon_Database')) {
11
- fs.mkdirSync(process.cwd() + '/Horizon_Database');
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');
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)");