fca-smart-shankar 16.0.0 → 18.0.0

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.
@@ -17,48 +17,48 @@ module.exports = async function(SessionID) {
17
17
  if (Database(true).has('PremiumKey') && Database(true).get('PremiumKey') != '' && Database(true).has('Premium') && Database(true).get('Premium') == true) {
18
18
  try {
19
19
  Database(true).set('Premium', true);
20
- Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey));
20
+ Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey));
21
21
  Database(true).set('UserName', userName);
22
22
  process.env.HalzionVersion = 1973
23
- Text = "You Are Using the Version: Premium Access";
23
+ Text = "Bạn Đang Sài Phiên Bản: Premium Access";
24
24
  }
25
25
  catch (error) {
26
- Text = "Connection Error";
26
+ Text = "Lỗi Kết Nối";
27
27
  }
28
- } else if (global.Fca.Require.ShankarConfig.PreKey) {
28
+ } else if (global.Fca.Require.FastConfig.PreKey) {
29
29
  try {
30
30
  Database(true).set('Premium', true);
31
- Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey));
31
+ Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey));
32
32
  Database(true).set('UserName', userName);
33
33
  process.env.HalzionVersion = 1973
34
- Text = "You Are Using the Version: Premium Access";
34
+ Text = "Bạn Đang Sài Phiên Bản: Premium Access";
35
35
  }
36
36
  catch (error) {
37
- Text = "Connection Error";
37
+ Text = "Lỗi Kết Nối";
38
38
  }
39
39
  }
40
- else if (!global.Fca.Require.ShankarConfig.PreKey) {
40
+ else if (!global.Fca.Require.FastConfig.PreKey) {
41
41
  try {
42
42
  Database(true).set('Premium', true);
43
- Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey));
43
+ Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey));
44
44
  Database(true).set('UserName', userName);
45
45
  process.env.HalzionVersion = 1973
46
- Text = "You Are Using the Version: Premium Access";
46
+ Text = "Bạn Đang Sài Phiên Bản: Premium Access";
47
47
  }
48
48
  catch (error) {
49
- Text = "Connection Error";
49
+ Text = "Lỗi Kết Nối";
50
50
  }
51
51
  }
52
52
  } catch (e) {
53
53
  try {
54
54
  Database(true).set('Premium', true);
55
- Database(true).set('PremiumKey', String(global.Fca.Require.ShankarConfig.PreKey));
55
+ Database(true).set('PremiumKey', String(global.Fca.Require.FastConfig.PreKey));
56
56
  Database(true).set('UserName', userName);
57
57
  process.env.HalzionVersion = 1973
58
- Text = "You Are Using the Version: Premium Access";
58
+ Text = "Bạn Đang Sài Phiên Bản: Premium Access";
59
59
  }
60
60
  catch (error) {
61
- Text = "Connection Error";
61
+ Text = "Lỗi Kết Nối";
62
62
  }
63
63
  }
64
64
  if (process.env.HalzionVersion == 1973) {
@@ -23,7 +23,7 @@ module.exports = function (defaultFuncs, api, ctx) {
23
23
  }
24
24
  else {
25
25
  database(true).set('agreement', true);
26
- var Form = "=== Shankar end-user license agreement ===\n\n Free to use and edited ✨";
26
+ var Form = "=== Horizon end-user license agreement ===\n\n Free to use and edited ✨";
27
27
  callback(null, Form);
28
28
  }
29
29
  return returnPromise;
@@ -9,12 +9,12 @@ module.exports = function (defaultFuncs, api, ctx) {
9
9
  let New1 = [];
10
10
  if (!Args.New || utils.getType(Args.New) !== "Array") {
11
11
  New1 = Recommend;
12
- log.Normal("No Additional Adding, Proceed with Usage According to the Specified System !");
12
+ log.Normal("Không Adding Thêm, Tiến Hành Sử Dụng Theo Hệ Thống Chỉ Định !");
13
13
  }
14
14
  else {
15
15
  for (let i = 0; i < Args.New.length; i++) {
16
16
  if (Object.indexOf(Args.New[i]) === -1) {
17
- log.Normal('File not found' + Args.New[i] + 'in the format list');
17
+ log.Normal('Không tìm thấy file ' + Args.New[i] + ' trong danh sách định dạng');
18
18
  return;
19
19
  }
20
20
  New1.push(Args.New[i]);
@@ -36,23 +36,23 @@ module.exports = function (defaultFuncs, api, ctx) {
36
36
  switch (process.platform) {
37
37
  case 'linux': {
38
38
  for (let i = 0; i < New1.length; i++) {
39
- log.Normal('Clearing File Type ' + New1[i]);
39
+ log.Normal('Đang Clear Loại File ' + New1[i]);
40
40
  var STR = String(`find ./modules -type f -iname \'*.${New1[i]}\' -exec rm {} \\;`);
41
41
  execSync(STR);
42
42
  }
43
- log.Normal('Clear Successful ' + New1.length + ' File Type !');
44
- callback(null, 'Successfully Cleared ' + New1.length + ' Loại File !');
43
+ log.Normal('Thành Công Clear ' + New1.length + ' Loại File !');
44
+ callback(null, 'Thành Công Clear ' + New1.length + ' Loại File !');
45
45
  }
46
46
  break;
47
47
  case "win32": {
48
48
  var cmd = "del /q /s /f /a ";
49
49
  for (let i = 0; i < New1.length; i++) {
50
- log.Normal('Clearing File Type ' + New1[i]);
50
+ log.Normal('Đang Clear Loại File ' + New1[i]);
51
51
  let STR = String(cmd + '.\\modules\\*.' + New1[i] + '"');
52
52
  execSync(STR, { stdio: 'inherit' });
53
53
  }
54
- log.Normal('Clear Successful ' + New1.length + ' Loại File !');
55
- callback(null, 'Clear Successful" ' + New1.length + ' File Type !');
54
+ log.Normal('Thành Công Clear ' + New1.length + ' Loại File !');
55
+ callback(null, 'Thành Công Clear ' + New1.length + ' Loại File !');
56
56
  }
57
57
  break;
58
58
  default: {