provide gpg_executable for win

master
David Beltra 2 years ago
parent 7d47294131
commit b31e34f8f8
  1. 3
      platform_Windows.py
  2. 3
      unix.py

@ -1,6 +1,5 @@
# coding=UTF-8
import os
from unix import *
# from _winreg import OpenKey, HKEY_LOCAL_MACHINE, QueryValueEx
# path = r"Software\Clients\Mail\Mozilla Thunderbird\InstallInfo"
@ -15,6 +14,8 @@ from unix import *
# uninstall_path = os.path.split(path)[0]
# thunderbird_base = os.path.dirname(uninstall_path)
def gpg_executable(thunderbird_base)
return os.path.join(os.environ['APPDATA'], 'GnuPG', 'bin', 'gpg.exe')
thunderbird_base = os.path.join(os.environ['APPDATA'], 'Thunderbird')

@ -15,7 +15,4 @@ def gpg_executable(thunderbird_base):
else:
return gpg
try:
per_user_directory = environ['HOME'] + '/.pEp'
except:
pass

Loading…
Cancel
Save