fca-naughty1 1.6.0 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- package/Extra/Html/Classic/script.js +2 -2
- package/index.js +16 -16
- package/package.json +1 -1
@@ -3,7 +3,7 @@ var ctx = c.getContext("2d");
|
|
3
3
|
var mask;
|
4
4
|
|
5
5
|
var pointCount = 500;
|
6
|
-
var str = "
|
6
|
+
var str = "Naughty";
|
7
7
|
var fontStr = "bold 100pt Helvetica Neue, Helvetica, Arial, sans-serif";
|
8
8
|
|
9
9
|
ctx.font = fontStr;
|
@@ -116,4 +116,4 @@ function coordsToI(x,y,w) {
|
|
116
116
|
}
|
117
117
|
|
118
118
|
setInterval(loop,50);
|
119
|
-
init();
|
119
|
+
init();
|
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
// Unofficial Fb Chat Api By Ñaughty
|
3
|
+
// Unofficial Fb Chat Api By Ñaughty
|
4
4
|
|
5
5
|
/!-[ Global Set ]-!/
|
6
6
|
|
@@ -44,7 +44,7 @@ global.Fca = new Object({
|
|
44
44
|
"AutoRestartMinutes": 0,
|
45
45
|
"HTML": {
|
46
46
|
"HTML": true,
|
47
|
-
"UserName": "
|
47
|
+
"UserName": "NAUGHTY",
|
48
48
|
"MusicLink": "https://drive.google.com/uc?id=1zlAALlxk1TnO7jXtEP_O6yvemtzA2ukA&export=download"
|
49
49
|
}
|
50
50
|
},
|
@@ -102,7 +102,7 @@ global.Fca = new Object({
|
|
102
102
|
│ │
|
103
103
|
│ │
|
104
104
|
│ fca-naughty1 │
|
105
|
-
│ Version: 1.6.
|
105
|
+
│ Version: 1.6.2 │
|
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"]
|
@@ -220,13 +220,13 @@ function ClassicHTML(UserName,Type,link) {
|
|
220
220
|
<html lang="en" >
|
221
221
|
<head>
|
222
222
|
<meta charset="UTF-8">
|
223
|
-
<title>
|
223
|
+
<title>FCA-NAUGHTY</title>
|
224
224
|
<link rel="stylesheet" href="./style.css">
|
225
225
|
</head>
|
226
226
|
<body>
|
227
227
|
<center>
|
228
|
-
<marquee><b>
|
229
|
-
<h2>
|
228
|
+
<marquee><b>LOTS OF THANKS FOR USING FCA-NAUGHTY1 (✿◕‿◕✿)</b></marquee>
|
229
|
+
<h2>FCA-NAUGHTY1 User Info</h2>
|
230
230
|
<h3>UserName: ${UserName} | Type: ${Type}</h3>
|
231
231
|
<canvas id="myCanvas"></canvas>
|
232
232
|
<script src="./script.js"></script>
|
@@ -234,14 +234,14 @@ function ClassicHTML(UserName,Type,link) {
|
|
234
234
|
<div id="music">
|
235
235
|
<audio autoplay="false" controls="true" loop="true" src="${link}" __idm_id__="5070849">Your browser does not support the audio element.</audio>
|
236
236
|
<br><b>Session ID:</b> ${global.Fca.Require.Security.create().uuid}<br>
|
237
|
-
<br>
|
237
|
+
<br>THANKS FOR USING <b> FCA-NAUGTY! </b> DEVELOPED BY <b>NAUGHTY</b> <3<br>
|
238
238
|
</div>
|
239
239
|
</footer>
|
240
240
|
</div>
|
241
241
|
</center>
|
242
242
|
</html>
|
243
243
|
</body>`
|
244
|
-
//
|
244
|
+
//NAUGHTY
|
245
245
|
}
|
246
246
|
|
247
247
|
/!-[ Stating Http Infomation ]-!/
|
@@ -1140,14 +1140,14 @@ try {
|
|
1140
1140
|
mainPromise
|
1141
1141
|
.then(function() {
|
1142
1142
|
const { execSync } = require('child_process');
|
1143
|
-
Fetch('
|
1143
|
+
Fetch('raw.githubusercontent.com/NAUGHTY-BRAND/NAUGHTYX100/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
|
-
log.warn("[ FCA-
|
1146
|
+
log.warn("[ FCA-NAUGHTY ] •",getText(Language.NewVersionFound,global.Fca.Version,JSON.parse(res.body.toString()).version));
|
1147
1147
|
if (global.Fca.Require.FastConfig.AutoUpdate == true) {
|
1148
|
-
log.warn("[ FCA-
|
1148
|
+
log.warn("[ FCA-NAUGHTY ] •",Language.AutoUpdate);
|
1149
1149
|
try {
|
1150
|
-
execSync('npm install
|
1150
|
+
execSync('npm install fca-naughty1@latest', { stdio: 'inherit' });
|
1151
1151
|
logger.Success(Language.UpdateSuccess)
|
1152
1152
|
logger.Normal(Language.RestartAfterUpdate);
|
1153
1153
|
await new Promise(resolve => setTimeout(resolve,5*1000));
|
@@ -1162,16 +1162,16 @@ try {
|
|
1162
1162
|
logger.Error('succeess Package');
|
1163
1163
|
execSync('npm cache clean --force', { stdio: 'ignore'})
|
1164
1164
|
await new Promise(resolve => setTimeout(resolve, 2*1000))
|
1165
|
-
fs.removeSync('../
|
1165
|
+
fs.removeSync('../fca-naughty1');
|
1166
1166
|
// why stdio is not studio :v
|
1167
1167
|
await new Promise(resolve => setTimeout(resolve, 2*1000))
|
1168
|
-
execSync('npm i
|
1168
|
+
execSync('npm i fca-naughty1@latest', { stdio: 'inherit'})
|
1169
1169
|
logger.Success("success Restart");
|
1170
1170
|
process.exit(1);
|
1171
1171
|
}
|
1172
1172
|
catch (e) {
|
1173
1173
|
logger.Warning("Error Please Enter The Following Code In Console To Fix !");
|
1174
|
-
logger.Warning("rmdir -rf ./node_modules/fca-
|
1174
|
+
logger.Warning("rmdir -rf ./node_modules/fca-naughty1 && npm i fca-naughty1@latest && npm start");
|
1175
1175
|
logger.Warning("Please Copy All The Above Words, Need To Do It 100% Correctly Otherwise Your File Will Be Discolored ✨")
|
1176
1176
|
process.exit(0);
|
1177
1177
|
}
|
@@ -1219,7 +1219,7 @@ function setUserNameAndPassWord() {
|
|
1219
1219
|
});
|
1220
1220
|
let localbrand2 = global.Fca.Version
|
1221
1221
|
console.clear();
|
1222
|
-
console.log(figlet.textSync('
|
1222
|
+
console.log(figlet.textSync('Naughty', {font: 'ANSI Shadow',horizontalLayout: 'default',verticalLayout: 'default',width: 0,whitespaceBreak: true }));
|
1223
1223
|
console.log(chalk.bold.hex('#9900FF')("[</>]") + chalk.bold.yellow(' => ') + "Operating System: " + chalk.bold.red(os.type()));
|
1224
1224
|
console.log(chalk.bold.hex('#9900FF')("[</>]") + chalk.bold.yellow(' => ') + "Machine Version: " + chalk.bold.red(os.version()));
|
1225
1225
|
console.log(chalk.bold.hex('#9900FF')("[</>]") + chalk.bold.yellow(' => ') + "Fca Version: " + chalk.bold.red(localbrand2) + '\n');
|