mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-02 03:40:13 +00:00
Patcher: new backup location is /sdcard/nanodroid_backups
This commit is contained in:
parent
353eae0aaa
commit
49fee1f065
@ -308,15 +308,15 @@ patch_services_ui () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backup_services_jar () {
|
backup_services_jar () {
|
||||||
ui_print " << backing up services.jar to: /sdcard"
|
ui_print " << backing up services.jar to: /sdcard/nanodroid_backups"
|
||||||
cp /system/framework/services.jar /sdcard || \
|
cp /system/framework/services.jar /sdcard/nanodroid_backups || \
|
||||||
error " !! failed to backup services.jar"
|
error " !! failed to backup services.jar"
|
||||||
}
|
}
|
||||||
|
|
||||||
backup_settings_ui () {
|
backup_settings_ui () {
|
||||||
if [ "${nanodroid_sigspoofui}" -eq 1 ]; then
|
if [ "${nanodroid_sigspoofui}" -eq 1 ]; then
|
||||||
ui_print " << backing up ${SETTINGS_APK_NAME} to: /sdcard"
|
ui_print " << backing up ${SETTINGS_APK_NAME} to: /sdcard/nanodroid_backups"
|
||||||
cp ${SETTINGS_APK_PATH} /sdcard || \
|
cp ${SETTINGS_APK_PATH} /sdcard/nanodroid_backups || \
|
||||||
error " !! failed to backup ${SETTINS_APK_NAME}"
|
error " !! failed to backup ${SETTINS_APK_NAME}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -276,15 +276,16 @@ patch_services_ui () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
backup_services_jar () {
|
backup_services_jar () {
|
||||||
ui_print " << backing up services.jar to: /sdcard"
|
ui_print " << backing up services.jar to: /sdcard/nanodroid_backups"
|
||||||
cp /system/framework/services.jar /sdcard || \
|
mkdir -p /sdcard/nanodroid_backups
|
||||||
|
cp /system/framework/services.jar /sdcard/nanodroid_backups || \
|
||||||
error " !! failed to backup services.jar"
|
error " !! failed to backup services.jar"
|
||||||
}
|
}
|
||||||
|
|
||||||
backup_settings_ui () {
|
backup_settings_ui () {
|
||||||
if [ "${nanodroid_sigspoofui}" -eq 1 ]; then
|
if [ "${nanodroid_sigspoofui}" -eq 1 ]; then
|
||||||
ui_print " << backing up ${SETTINGS_APK_NAME} to: /sdcard"
|
ui_print " << backing up ${SETTINGS_APK_NAME} to: /sdcard/nanodroid_backups"
|
||||||
cp ${SETTINGS_APK_PATH} /sdcard || \
|
cp ${SETTINGS_APK_PATH} /sdcard/nanodroid_backups || \
|
||||||
error " !! failed to backup ${SETTINS_APK_NAME}"
|
error " !! failed to backup ${SETTINS_APK_NAME}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user