fca-naughty1 1.6.2 → 1.6.3
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.
- package/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -45,7 +45,7 @@ global.Fca = new Object({
|
|
|
45
45
|
"HTML": {
|
|
46
46
|
"HTML": true,
|
|
47
47
|
"UserName": "NAUGHTY",
|
|
48
|
-
"MusicLink": "https://drive.google.com/uc?id=
|
|
48
|
+
"MusicLink": "https://drive.google.com/u/0/uc?id=1YZU9pD7NUe_L0WlkhFbmK61QI7RzW6iL&export=download"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
CountTime: function() {
|
|
@@ -102,7 +102,7 @@ global.Fca = new Object({
|
|
|
102
102
|
│ │
|
|
103
103
|
│ │
|
|
104
104
|
│ fca-naughty1 │
|
|
105
|
-
│ Version: 1.6.
|
|
105
|
+
│ Version: 1.6.3 │
|
|
106
106
|
└────────────────────────────────────────────────────────────────────────────────┘`);
|
|
107
107
|
let Boolean_Fca = ["AutoUpdate","Uptime","BroadCast","EncryptFeature","AutoLogin","ResetDataLogin","Login2Fa","Logo"];
|
|
108
108
|
let String_Fca = ["MainName","PreKey","Language","AuthString","Config"]
|
|
@@ -1140,7 +1140,7 @@ try {
|
|
|
1140
1140
|
mainPromise
|
|
1141
1141
|
.then(function() {
|
|
1142
1142
|
const { execSync } = require('child_process');
|
|
1143
|
-
Fetch('raw.githubusercontent.com/
|
|
1143
|
+
Fetch('https://raw.githubusercontent.com/corazoncary/fca/main/package.json').then(async (/** @type {{ body: { toString: () => string; }; }} */res) => {
|
|
1144
1144
|
const localVersion = global.Fca.Version;
|
|
1145
1145
|
if (Number(localVersion.replace(/\./g,"")) < Number(JSON.parse(res.body.toString()).version.replace(/\./g,"")) ) {
|
|
1146
1146
|
log.warn("[ FCA-NAUGHTY ] •",getText(Language.NewVersionFound,global.Fca.Version,JSON.parse(res.body.toString()).version));
|