|
|
@ -15,7 +15,9 @@ import os |
|
|
|
# thunderbird_base = os.path.dirname(uninstall_path) |
|
|
|
|
|
|
|
def gpg_executable(thunderbird_base): |
|
|
|
return os.path.join(os.environ['APPDATA'], 'GnuPG', 'bin', 'gpg.exe') |
|
|
|
for p in os.environ["PATH"].split(os.pathsep): |
|
|
|
if 'Gpg4win' in p: |
|
|
|
return os.path.join(p, 'gpg.exe') |
|
|
|
|
|
|
|
thunderbird_base = os.path.join(os.environ['APPDATA'], 'Thunderbird') |
|
|
|
|