feat: implement age limit

This commit is contained in:
Yannik Schmidt
2025-04-13 00:52:51 +02:00
parent 4e9b85ee6d
commit 8e5bfd9ae3
4 changed files with 18 additions and 5 deletions

View File

@@ -59,6 +59,7 @@ class Software:
self.run_exe = meta.get("run_exe")
self.installer = meta.get("installer")
self.installer_no_admin = meta.get("installer_no_admin")
self.age_limit = meta.get("age_limit") or 20
self.pictures = [ self.backend.get(pp, self.cache_dir) for pp in
self.backend.list(os.path.join(self.directory, "pictures"), fullpaths=True) ]