fca-project-orion 1.1.19 → 1.1.21

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.
@@ -6,7 +6,7 @@ const logger = require("../logger");
6
6
  const getText = global.Fca.getText;
7
7
  var language = require("../Language/index.json");
8
8
  const fs = require("fs");
9
- language = language.find(i => i.Language == require(process.cwd() + "/Orion_Database/FastConfigFca.json").Language).Folder.ExtraGetThread;
9
+ language = language.find(i => i.Language == require(process.cwd() + "/FastConfigFca.json").Language).Folder.ExtraGetThread;
10
10
 
11
11
  if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") {
12
12
  if (!fs.existsSync(process.cwd() + "/Orion_Database/Threads.json")) {
@@ -14,7 +14,7 @@ if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type == "json") {
14
14
  }
15
15
  }
16
16
  else if (global.Fca.Require.FastConfig.AntiGetInfo.Database_Type != "default" && global.Fca.Require.FastConfig.AntiGetInfo.Database_Type != "json") {
17
- logger.Warning("Database_Type in /Orion_Database/FastConfigFca.json is not valid. Only default and json are valid.");
17
+ logger.Warning("Database_Type in /FastConfigFca.json is not valid. Only default and json are valid.");
18
18
  process.exit(0);
19
19
  }
20
20
 
package/Main.js CHANGED
@@ -1028,7 +1028,7 @@ function setUserNameAndPassWord() {
1028
1028
  }
1029
1029
  if (global.Fca.Require.FastConfig.ResetDataLogin) {
1030
1030
  global.Fca.Require.FastConfig.ResetDataLogin = false;
1031
- global.Fca.Require.fs.writeFileSync(process.cwd() + '/Orion_Database/FastConfigFca.json', JSON.stringify(global.Fca.Require.FastConfig, null, 4));
1031
+ global.Fca.Require.fs.writeFileSync(process.cwd() + '/FastConfigFca.json', JSON.stringify(global.Fca.Require.FastConfig, null, 4));
1032
1032
  }
1033
1033
  logger.Success(Language.SuccessSetData);
1034
1034
  process.exit(1);
@@ -1127,7 +1127,7 @@ function login(loginData, options, callback) {
1127
1127
  if (!UserName || !PassWord) {
1128
1128
  logger.Warning("Dangerous action detected! Proceeding to automatically disable websocket_extension.");
1129
1129
  global.Fca.Require.FastConfig.Websocket_Extension.Status = false;
1130
- global.Fca.Require.fs.writeFileSync(process.cwd() + "/Orion_Database/FastConfigFca.json", JSON.stringify(global.Fca.Require.FastConfig, null, "\t"));
1130
+ global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Require.FastConfig, null, "\t"));
1131
1131
  }
1132
1132
  else {
1133
1133
  try {
@@ -1140,7 +1140,7 @@ function login(loginData, options, callback) {
1140
1140
  Database().set('Ws_2Fa', secret.base32);
1141
1141
  if (global.Fca.Require.FastConfig.Websocket_Extension.ResetData) {
1142
1142
  global.Fca.Require.FastConfig.Websocket_Extension.ResetData = false;
1143
- global.Fca.Require.fs.writeFileSync(process.cwd() + '/Orion_Database/FastConfigFca.json', JSON.stringify(global.Fca.Require.FastConfig, null, 4));
1143
+ global.Fca.Require.fs.writeFileSync(process.cwd() + '/FastConfigFca.json', JSON.stringify(global.Fca.Require.FastConfig, null, 4));
1144
1144
  }
1145
1145
  question("Enter To Continue!");
1146
1146
  const ask = function() {
@@ -1164,7 +1164,7 @@ function login(loginData, options, callback) {
1164
1164
  console.log(e)
1165
1165
  logger.Warning("Error, auto turn off Websocket_extension");
1166
1166
  global.Fca.Require.FastConfig.Websocket_Extension.Status = false;
1167
- global.Fca.Require.fs.writeFileSync(process.cwd() + "/Orion_Database/FastConfigFca.json", JSON.stringify(global.Fca.Require.FastConfig, null, "\t"));
1167
+ global.Fca.Require.fs.writeFileSync(process.cwd() + "/FastConfigFca.json", JSON.stringify(global.Fca.Require.FastConfig, null, "\t"));
1168
1168
  process.exit(1);
1169
1169
  }
1170
1170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fca-project-orion",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {