ari's enigmail/pEp-on-linux build system this _also_ lives in https://pep.foundation/dev/repos/enigmailpEp/ in linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
992B

  1. diff --git a/package/pEpAdapter.jsm b/package/pEpAdapter.jsm
  2. index 542c71f8..0301910c 100644
  3. --- a/package/pEpAdapter.jsm
  4. +++ b/package/pEpAdapter.jsm
  5. @@ -145,7 +145,16 @@ var EnigmailPEPAdapter = {
  6. execFile = EnigmailFiles.resolvePath(
  7. EnigmailFiles.potentialWindowsExecutable(PEP_SERVER_EXECUTABLE), pepmda.path, EnigmailOS.isDosLike);
  8. if (!execFile || !execFile.exists() || !execFile.isExecutable()) {
  9. - execFile = null;
  10. + let pepmda = EnigmailApp.getProfileDirectory();
  11. + pepmda.append("extensions");
  12. + pepmda.append("{847b3a00-7ab1-11d4-8f02-006008948af5}");
  13. + pepmda.append("pepmda");
  14. + pepmda.append("bin");
  15. + execFile = EnigmailFiles.resolvePath(
  16. + EnigmailFiles.potentialWindowsExecutable(PEP_SERVER_EXECUTABLE), pepmda.path, EnigmailOS.isDosLike);
  17. + if (!execFile || !execFile.exists() || !execFile.isExecutable()) {
  18. + execFile = null;
  19. + }
  20. }
  21. }
  22. return execFile;