From db2dea286f089d34061bedbef17e9d16381abddf Mon Sep 17 00:00:00 2001 From: Captain Date: Sun, 12 Nov 2023 15:31:37 +0100 Subject: [PATCH] update to support new dream rescue 1.11 or newer --- ofgwrite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ofgwrite.c b/ofgwrite.c index d0d7ae5..1f9ccf4 100644 --- a/ofgwrite.c +++ b/ofgwrite.c @@ -470,6 +470,8 @@ int find_image_files(char* p) || strcmp(entry->d_name, "rootfs.tar.bz2") == 0 // solo4k || strcmp(entry->d_name, "rootfs.ubi") == 0 // Zgemma H9 || strcmp(entry->d_name, "rootfs.tar.xz") == 0) // dream + || strcmp(entry->d_name, "rootfs-dreamone.tar.bz2") == 0) // dreamone + || strcmp(entry->d_name, "rootfs-dreamtwo.tar.bz2") == 0) // dreamtwo { strcpy(rootfs_filename, path); strcpy(&rootfs_filename[strlen(path)], entry->d_name);