aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index cde3577..6321e02 100644
--- a/main.cpp
+++ b/main.cpp
@@ -53,6 +53,9 @@ int main(int argc, char *argv[])
#ifndef GPG4USB_NON_PORTABLE
// take care of gpg not creating directorys on harddisk
putenv(QString("GNUPGHOME=" + appPath + "/keydb").toAscii().data());
+
+ // this may help with newer gpgme versions on windows
+ //putenv(QString("GPGME_GPGPATH=" + appPath.replace("/", "\\") + "\\bin\\gpg.exe").toAscii().data());
// QSettings uses org-name for automatically setting path...
app.setOrganizationName("conf");