Hi,
i can not install some apps in to data/app folder with updater-script.
What i tryed :
(app in data/app installation zip):
(app in data/app installation zip):
both scripts run without error and app in data/app folder but it's not installed.
When i install as normal app it's working. Also when install via cmd adb install -r com.lge.fmradio-1.apk it's also installins succesfully.
How to install with updater-script?
i can not install some apps in to data/app folder with updater-script.
What i tryed :
(app in data/app installation zip):
Code:
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data", "/data");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/data");
run_program("adb", "install", "-r", "added_files/data/app/com.lge.fmradio-1.apk");
run_program("/sbin/busybox", "umount", "/data");
Code:
run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data", "/data");
unmount("/data");
When i install as normal app it's working. Also when install via cmd adb install -r com.lge.fmradio-1.apk it's also installins succesfully.
How to install with updater-script?



Philadelphia, PA


Linear Mode