diff --git a/functions.js b/functions.js index 86adba2..54f694d 100644 --- a/functions.js +++ b/functions.js @@ -1,6 +1,7 @@ const {generateIMEI} = require("./utils"); +const settings = require("./settings.json"); -const imei = generateIMEI(); +const imei = settings.imei=="" ? generateIMEI() : settings.imei; const getOSVersion = { location: "smali/classes/tech/rabbit/r1launcher/RLApp.smali", diff --git a/settings.json b/settings.json index 6bf9b1d..a5e0ab4 100644 --- a/settings.json +++ b/settings.json @@ -1,3 +1,4 @@ { - "apkFileName": "RabbitLauncher0517" + "apkFileName": "RabbitLauncher0517", + "imei": "" } \ No newline at end of file