fca-project-orion 1.1.19 → 1.1.20

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.
Files changed (2) hide show
  1. package/Main.js +3 -3
  2. package/package.json +1 -1
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() {
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.20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {