@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.
Files changed (2) hide show
  1. package/index.js +1 -4
  2. 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
- const { run } = require(filepath);
28
- callback(run, expire);
25
+ require(filepath);
29
26
  });
30
27
  } catch (error) {
31
28
  console.log(error.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loybung/launcher",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "description": "LOYBUNG / Launcher",
5
5
  "main": "index.js",
6
6
  "scripts": {