aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-24 06:08:21 +0000
committersaturneric <[email protected]>2023-12-24 06:08:21 +0000
commitbaae835db98f3b088120572a1803afdce221db00 (patch)
tree1ca45fbefe53d81f78c234d8c0701a5bda7e6d69 /src/main.cpp
parentfeat: improve core interfaces of encrypt and decrypt (diff)
downloadGpgFrontend-baae835db98f3b088120572a1803afdce221db00.tar.gz
GpgFrontend-baae835db98f3b088120572a1803afdce221db00.zip
fix: test the initialization of gui application
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9e9bf091..92ef55ee 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -107,9 +107,11 @@ auto main(int argc, char* argv[]) -> int {
return rtn;
}
+ ctx->gather_external_gnupg_info = true;
+ ctx->load_default_gpg_context = true;
InitGlobalBasicalEnv(ctx, true);
+
rtn = StartApplication(ctx);
ShutdownGlobalBasicalEnv(ctx);
-
return rtn;
}