File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const Terminal = {
3333 if ( type === 'stderr' ) console . error ( data ) ;
3434 if ( type === 'exit' ) console . log ( 'EXIT:' , data ) ;
3535 } ) . then ( pid => {
36-
36+ Executor . execute ( `echo \" ${ pid } \" > ${ filesDir } /pid` )
3737 Executor . write ( pid , `export LD_LIBRARY_PATH=${ filesDir } ` ) ;
3838 Executor . write ( pid , `export PROOT_TMP_DIR=${ filesDir } /tmp` ) ;
3939 Executor . write ( pid , `export PROOT_LOADER=${ nativeLibs } /libproot.so` ) ;
@@ -42,9 +42,9 @@ const Terminal = {
4242
4343 Executor . write ( pid , `${ nativeLibs } /libproot-xed.so -b ${ filesDir } :${ filesDir } -b /data:/data -b /system:/system -b /vendor:/vendor -S ${ filesDir } /alpine` ) ;
4444 Executor . write ( pid , `command -v bash >/dev/null 2>&1 || apk update && apk add bash` ) ;
45+
4546 Executor . write ( pid , `${ filesDir } /axs` ) ;
4647
47- Executor . execute ( `echo \"${ pid } \" > ${ filesDir } /pid` )
4848 } ) . catch ( console . error ) ;
4949
5050 } ,
You can’t perform that action at this time.
0 commit comments