mirror of
https://github.com/unode/firefox_decrypt.git
synced 2025-12-16 12:01:52 +01:00
🐛 Add support for /usr/lib/firefox and /usr/lib/thunderbird libnss3.so locations
This commit is contained in:
@@ -212,9 +212,11 @@ def find_nss(locations: list[str], nssname: str) -> ct.CDLL:
|
||||
fail_errors: list[tuple[str, str]] = []
|
||||
|
||||
OS = ("Windows", "Darwin")
|
||||
sublocations = ("firefox", "thunderbird", "")
|
||||
|
||||
for loc in locations:
|
||||
nsslib = os.path.join(loc, nssname)
|
||||
for subloc in sublocations:
|
||||
nsslib = os.path.join(loc, subloc, nssname)
|
||||
LOG.debug("Loading NSS library from %s", nsslib)
|
||||
|
||||
if SYSTEM in OS:
|
||||
|
||||
Reference in New Issue
Block a user