From 3516d505abc6bb737e6c1776134b618412727fe8 Mon Sep 17 00:00:00 2001 From: meowster Date: Fri, 31 May 2024 16:24:56 +0200 Subject: [PATCH] added a setting to use a custom imei --- functions.js | 3 ++- settings.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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