Update unpack.py

This commit is contained in:
gutosie
2021-03-29 08:04:53 +03:00
committed by GitHub
parent 116e5d4912
commit b50ee0a653

View File

@@ -99,6 +99,10 @@ class InstallImage(Screen, ConfigListScreen):
fn = fn.replace('.zip', '')
sourcelist.append((fn, fn))
continue
if fn.find('.rar') != -1:
fn = fn.replace('.rar', '')
sourcelist.append((fn, fn))
continue
if fn.find('.tar.xz') != -1:
fn = fn.replace('.tar.xz', '')
sourcelist.append((fn, fn))