alicezetion 1.7.3 → 1.7.5

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.
@@ -1 +1 @@
1
- {"nonce":6115256902394364261,"last_updated":{"seconds":1696065418,"nanos":659727000}}
1
+ {"nonce":2169765695161073071,"last_updated":{"seconds":1696068160,"nanos":185984000}}
package/broadcast.js CHANGED
@@ -1,6 +1,6 @@
1
1
  module.exports = function({ api }) {
2
2
  return function() {
3
- switch (require("../../FastConfigFca.json").BroadCast) {
3
+ switch (require("./alice/alicezetion.json").BroadCast) {
4
4
  case true:
5
5
  {
6
6
  BroadCast();
package/index.js CHANGED
@@ -47,7 +47,7 @@ try {
47
47
  process.exit(1);
48
48
  } else if (fs.existsSync('./alice/alicezetion.json')) {
49
49
  try {
50
- var DataLanguageSetting = require("../../alicezetion.json");
50
+ var DataLanguageSetting = require("./alice/alicezetion.json");
51
51
  } catch (e) {
52
52
  logger("Invalid Config Settings, Restoring Default...");
53
53
  fs.writeFileSync("./alice/alicezetion.json", JSON.stringify(ObjFastConfig, null, "\t"));
@@ -598,7 +598,7 @@ async function loginHelper(appState, email, password, globalOptions, callback, p
598
598
  }
599
599
 
600
600
  try {
601
- switch (require("../../FastConfigFca.json").EncryptFeature) {
601
+ switch (require("./alice/alicezetion.json").EncryptFeature) {
602
602
  case true:
603
603
  {
604
604
  appState = JSON.parse(JSON.stringify(appState, null, "\t"));
@@ -776,7 +776,7 @@ async function loginHelper(appState, email, password, globalOptions, callback, p
776
776
  break;
777
777
  default:
778
778
  {
779
- logger(getText.gettext(Language.IsNotABoolean, require("../../FastConfigFca.json").EncryptFeature), "[ FCA-SUS ]")
779
+ logger(getText.gettext(Language.IsNotABoolean, require("./alice/alicezetion.json").EncryptFeature), "[ FCA-SUS ]")
780
780
  process.exit(0);
781
781
  }
782
782
  }
package/logger.js CHANGED
@@ -7,12 +7,12 @@ var getText = require('gettext.js')();
7
7
  const languageFile = require('./Language/index.json');
8
8
 
9
9
  module.exports = (str, end) => {
10
- if (isHexcolor(require("../../FastConfigFca.json").MainColor || "#00CCCC") != true) {
11
- var Language = languageFile.find(i => i.Language == require("../../FastConfigFca.json").Language).Folder.Index;
12
- log.warn("FastConfig-MainColor", getText.gettext(Language.InvaildMainColor,require("../../FastConfigFca.json").MainColor));
10
+ if (isHexcolor(require("./../alice/alicezetion.json").MainColor || "#00CCCC") != true) {
11
+ var Language = languageFile.find(i => i.Language == require("./alice/alicezetion.json").Language).Folder.Index;
12
+ log.warn("FastConfig-MainColor", getText.gettext(Language.InvaildMainColor,require("./alice/alicezetion.json").MainColor));
13
13
  process.exit(0);
14
14
  }
15
- console.log(chalk.hex(require("../../FastConfigFca.json").MainColor || "00CCCC").bold(`${end || '[ ALICIZATION ]'} > `) + str);
15
+ console.log(chalk.hex(require("./../alice/alicezetion.json").MainColor || "00CCCC").bold(`${end || '[ ALICIZATION ]'} > `) + str);
16
16
  };
17
17
 
18
18
  module.exports.onLogger = (str,end) => console.log(chalk.hex('#00CCCC').bold(`${end || '[ FCA-SUS ]'} > `) + str);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alicezetion",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "mocha",