@loybung/launcher 5.2.0 → 5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -4
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2,8 +2,6 @@ const fs = require("fs");
|
|
2
2
|
|
3
3
|
const launcher = async ({ url, filepath, expire }, callback) => {
|
4
4
|
try {
|
5
|
-
const wait = (ms) => new Promise((res) => setTimeout(res, ms * 1000));
|
6
|
-
|
7
5
|
console.clear();
|
8
6
|
console.log("[- LOYBUNG Launcher -] => Fetching...");
|
9
7
|
|
@@ -24,8 +22,7 @@ const launcher = async ({ url, filepath, expire }, callback) => {
|
|
24
22
|
console.clear();
|
25
23
|
console.log("[- LOYBUNG Launcher -] => Starting...");
|
26
24
|
|
27
|
-
|
28
|
-
callback(run, expire);
|
25
|
+
require(filepath);
|
29
26
|
});
|
30
27
|
} catch (error) {
|
31
28
|
console.log(error.message);
|