Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
symbuzzer authored Mar 15, 2024
1 parent 2933058 commit 2818f50
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ ui_print " - $output"
ui_print " - $width"
ui_print " - $height"

echo "#!/system/bin/sh" > $MODDIR/"0000bootlive"
echo "#app_process=/system/bin/app_process64" >> $MODDIR/"0000bootlive"
echo "DISABLE=\"/data/adb/modules/livebootmagisk/disable\"" >> $MODDIR/"0000bootlive"
echo "if ! test -e \"\$DISABLE\"; then" >> $MODDIR/"0000bootlive"
echo "NO_ADDR_COMPAT_LAYOUT_FIXUP=1 ANDROID_ROOT=/system LD_LIBRARY_PATH=/system/lib64:/system/lib64/drm:/system/lib64/hw:/vendor/lib64:/vendor/lib64/camera:/vendor/lib64/egl:/vendor/lib64/hw:/vendor/lib64/mediacas:/vendor/lib64/mediadrm:/vendor/lib64/soundfx:/system/bin:/librootjava CLASSPATH=/data/adb/modules/livebootmagisk/liveboot /data/adb/modules/livebootmagisk/libdaemonize.so /system/bin/app_process64 /system/bin --nice-name=eu.chainfire.liveboot:root eu.chainfire.liveboot.e.d /data/adb/modules/livebootmagisk/liveboot boot dark fallbackwidth=$width fallbackheight=$height logcatlevels=WEFS logcatbuffers=C logcatformat=brief logcatnocolors dmesg=0--1 lines=80 wordwrap" >> $MODDIR/"0000bootlive"
echo "fi" >> $MODDIR/"0000bootlive"
echo "#!/system/bin/sh" > $TMPDIR/"0000bootlive"
echo "#app_process=/system/bin/app_process64" >> $TMPDIR/"0000bootlive"
echo "DISABLE=\"/data/adb/modules/livebootmagisk/disable\"" >> $TMPDIR/"0000bootlive"
echo "if ! test -e \"\$DISABLE\"; then" >> $TMPDIR/"0000bootlive"
echo "NO_ADDR_COMPAT_LAYOUT_FIXUP=1 ANDROID_ROOT=/system LD_LIBRARY_PATH=/system/lib64:/system/lib64/drm:/system/lib64/hw:/vendor/lib64:/vendor/lib64/camera:/vendor/lib64/egl:/vendor/lib64/hw:/vendor/lib64/mediacas:/vendor/lib64/mediadrm:/vendor/lib64/soundfx:/system/bin:/librootjava CLASSPATH=/data/adb/modules/livebootmagisk/liveboot /data/adb/modules/livebootmagisk/libdaemonize.so /system/bin/app_process64 /system/bin --nice-name=eu.chainfire.liveboot:root eu.chainfire.liveboot.e.d /data/adb/modules/livebootmagisk/liveboot boot dark fallbackwidth=$width fallbackheight=$height logcatlevels=WEFS logcatbuffers=C logcatformat=brief logcatnocolors dmesg=0--1 lines=80 wordwrap" >> $TMPDIR/"0000bootlive"
echo "fi" >> $TMPDIR/"0000bootlive"

ui_print "- Boot script created"

install_script -p $MODDIR/0000bootlive
install_script -l $MODDIR/0000bootlive
install_script -p $TMPDIR/0000bootlive
install_script -l $TMPDIR/0000bootlive

ui_print "- Boot script copied necassary places"
ui_print "- Continuing to install"

0 comments on commit 2818f50

Please sign in to comment.