- update: allow to flash zipped archives

Conflicts:
	src/gui/update.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-05-28 20:56:00 +02:00
committed by Thilo Graf
parent c65cacaa2e
commit 6f8e829b97
3 changed files with 14 additions and 7 deletions

View File

@@ -84,7 +84,8 @@ static const file_ext_s file_ext[] =
{ "url", CFile::STREAM_AUDIO },
{ "vob", CFile::FILE_VOB },
{ "wav", CFile::FILE_WAV },
{ "xml", CFile::FILE_XML }
{ "xml", CFile::FILE_XML },
{ "zip", CFile::FILE_ZIP_PACKAGE }
};
int mycasecmp(const void * a, const void * b)

View File

@@ -78,6 +78,7 @@ class CFile
FILE_VOB,
FILE_WAV,
FILE_XML,
FILE_ZIP_PACKAGE,
STREAM_AUDIO,
STREAM_PICTURE
};