alicezetion 1.7.2 → 1.7.4
Sign up to get free protection for your applications and to get access to all the features.
- package/.cache/replit/__replit_disk_meta.json +1 -1
- package/broadcast.js +1 -1
- package/index.js +3 -3
- package/logger.js +4 -4
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"nonce":
|
1
|
+
{"nonce":4675348087013067120,"last_updated":{"seconds":1696065780,"nanos":185287000}}
|
package/broadcast.js
CHANGED
package/index.js
CHANGED
@@ -598,7 +598,7 @@ async function loginHelper(appState, email, password, globalOptions, callback, p
|
|
598
598
|
}
|
599
599
|
|
600
600
|
try {
|
601
|
-
switch (require("
|
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("
|
779
|
+
logger(getText.gettext(Language.IsNotABoolean, require("./alice/alicezetion.json").EncryptFeature), "[ FCA-SUS ]")
|
780
780
|
process.exit(0);
|
781
781
|
}
|
782
782
|
}
|
@@ -1014,7 +1014,7 @@ async function loginHelper(appState, email, password, globalOptions, callback, p
|
|
1014
1014
|
//!---------- Auto Check, Update END -----------------!//
|
1015
1015
|
}
|
1016
1016
|
|
1017
|
-
function
|
1017
|
+
function alice(loginData, options, callback) {
|
1018
1018
|
if (utils.getType(options) === 'Function' || utils.getType(options) === 'AsyncFunction') {
|
1019
1019
|
callback = options;
|
1020
1020
|
options = {};
|
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("
|
11
|
-
var Language = languageFile.find(i => i.Language == require("
|
12
|
-
log.warn("FastConfig-MainColor", getText.gettext(Language.InvaildMainColor,require("
|
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("
|
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);
|