File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments