Skip to content

Commit 97f19fe

Browse files
KOWX712rifsxd
authored andcommitted
webui/patch: update patch scripts path
1 parent edea081 commit 97f19fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webui/page/patch.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ async function extractAndParseBootimg() {
166166
});
167167

168168
// get slot and device
169-
const result = spawn('busybox', ['sh', `${modDir}/boot_extract.sh`], {
169+
const result = spawn('busybox', ['sh', `${modDir}/patch/boot_extract.sh`], {
170170
env: { PATH: `${modDir}/bin:/data/adb/ksu/bin:/data/adb/magisk:$PATH`, ASH_STANDALONE: '1' }
171171
});
172172

@@ -346,7 +346,7 @@ function patch(type) {
346346
let args = ['sh'];
347347
if (type === "patch") {
348348
args.push(
349-
`${modDir}/boot_patch.sh`,
349+
`${modDir}/patch/boot_patch.sh`,
350350
bootDev,
351351
'true'
352352
);
@@ -368,7 +368,7 @@ function patch(type) {
368368
});
369369
} else {
370370
// Unpatch logic
371-
args.push(`${modDir}/boot_unpatch.sh`, bootDev);
371+
args.push(`${modDir}/patch/boot_unpatch.sh`, bootDev);
372372
}
373373

374374
const process = spawn(

0 commit comments

Comments
 (0)