From 722e62bb20b8809a9345e4c107b98f8d80fdd9e9 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 31 Mar 2024 18:57:07 -0700 Subject: [PATCH] Disable app updates by adding disable file in folder. --- fdroidapk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidapk.py b/fdroidapk.py index 8e22da9..fc268cb 100644 --- a/fdroidapk.py +++ b/fdroidapk.py @@ -53,7 +53,7 @@ def ls_packages(path): packages = set() items = path.listdir() for item in items: - if item.is_dir and '.' in item.basename: + if item.is_dir and '.' in item.basename and not item.with_child('disable').exists: packages.add(item.basename) elif item.is_file and item.extension == 'apk': package = item.basename.split('-')[0]