diff options
author | Saturneric <[email protected]> | 2023-02-11 12:17:49 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2023-02-11 12:17:49 +0000 |
commit | b79ae9d7c3dd633c0b9013ae520f451be852019d (patch) | |
tree | 1940f43907974cab1b33ef350b05d50868c5323a /src/core/GpgCoreInit.cpp | |
parent | feat: add an option to build with app sanbox on (diff) | |
download | GpgFrontend-b79ae9d7c3dd633c0b9013ae520f451be852019d.tar.gz GpgFrontend-b79ae9d7c3dd633c0b9013ae520f451be852019d.zip |
freat: allow to change gnupg install path
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r-- | src/core/GpgCoreInit.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp index ad4e395d..cdda3a67 100644 --- a/src/core/GpgCoreInit.cpp +++ b/src/core/GpgCoreInit.cpp @@ -35,6 +35,7 @@ #include "GpgFunctionObject.h" #include "core/GpgContext.h" #include "core/function/GlobalSettingStation.h" +#include "function/gpg/GpgAdvancedOperator.h" namespace GpgFrontend { @@ -138,6 +139,9 @@ void init_gpgfrontend_core() { return std::unique_ptr<ChannelObject>(new GpgContext(args)); }); + + // try to restart all components + GpgFrontend::GpgAdvancedOperator::GetInstance().RestartGpgComponents(); } void reset_gpgfrontend_core() { SingletonStorageCollection::GetInstance(true); } |