Browse Source

provide gpg_executable for win

master
David Beltra 2 years ago
parent
commit
b31e34f8f8
2 changed files with 2 additions and 4 deletions
  1. +2
    -1
      platform_Windows.py
  2. +0
    -3
      unix.py

+ 2
- 1
platform_Windows.py View File

@ -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')

+ 0
- 3
unix.py View File

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

Loading…
Cancel
Save