From b50ee0a653bbb74bed8614cc927d1e7862b85f65 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 29 Mar 2021 08:04:53 +0300 Subject: [PATCH] Update unpack.py --- NeoBoot/unpack.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/NeoBoot/unpack.py b/NeoBoot/unpack.py index c971a5c..e00d6bf 100644 --- a/NeoBoot/unpack.py +++ b/NeoBoot/unpack.py @@ -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)) @@ -342,4 +346,4 @@ class HelpInstall(Screen): self['lab1'].show() self['lab1'].setText(message) - \ No newline at end of file +