From 4285b0bd1c6d288183b636cdc4b2e16a11c2d90e Mon Sep 17 00:00:00 2001 From: meowster Date: Tue, 2 Jul 2024 08:37:28 +0000 Subject: [PATCH 1/2] maybe it'll work this time --- functions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.js b/functions.js index f1e704f..2668502 100644 --- a/functions.js +++ b/functions.js @@ -83,6 +83,7 @@ const onKeyDown = { "const/16 p1, 0x1a", ":cond_0", ":pswitch_0", + "sget p0, Ltech/rabbit/r1launcher/rabbit/KeyEventHandler;->lastKey:I" ]}; const gotoConnectNetwork = { From ee021b0f139adbd2dfba5dae08204ee39d1ec56d Mon Sep 17 00:00:00 2001 From: meowster Date: Tue, 2 Jul 2024 19:22:33 +0000 Subject: [PATCH 2/2] const => let --- utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.js b/utils.js index 1989397..ecf5e1b 100644 --- a/utils.js +++ b/utils.js @@ -97,7 +97,7 @@ function replaceStringInManifest(name, value) { const data = fs.readFileSync(manifest, "utf-8") let arr = data.split(" "); for (let i = 0; i < arr.length; i++) { - const line = arr[i]; + let line = arr[i]; if(line.includes(name)) { line = `${name}=${value}` }