aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt10
-rw-r--r--src/main.cpp6
2 files changed, 8 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c1cacaf4..9cd214de 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -83,17 +83,17 @@ endif ()
if (GPG_CORE)
- message(STATUS "Build Core")
+ message(STATUS "Build Core Module")
add_subdirectory(core)
endif ()
if (UI_CORE)
- message(STATUS "Build UI")
+ message(STATUS "Build UI Module")
add_subdirectory(ui)
endif ()
-if (UI_CORE)
- message(STATUS "Build Plugin")
+if (PLUGIN_CORE)
+ message(STATUS "Build Plugin Module")
add_subdirectory(plugin)
endif ()
@@ -518,7 +518,7 @@ if (LINUX AND LINUX_INSTALL_SOFTWARE)
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/${AppName}/)
install(FILES ${CMAKE_SOURCE_DIR}/resource/appstream/com.bktus.gpgfrontend.appdata.xml
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/metainfo/)
- install(DIRECTORY ${CMAKE_SOURCE_DIR}/resource/desktop/
+ install(FILES ${CMAKE_SOURCE_DIR}/resource/appstream/com.bktus.gpgfrontend.desktop
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications/)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/resource/lfs/pixmaps/
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/pixmaps/)
diff --git a/src/main.cpp b/src/main.cpp
index 37290f4f..d3a409d9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -39,7 +39,7 @@
#include "core/GpgConstants.h"
#include "core/GpgCoreInit.h"
#include "core/function/GlobalSettingStation.h"
-#include "plugin/GpgFrontendPluginInit.h"
+// #include "plugin/GpgFrontendPluginInit.h"
#include "spdlog/spdlog.h"
#include "ui/GpgFrontendApplication.h"
#include "ui/GpgFrontendUIInit.h"
@@ -120,7 +120,7 @@ int main(int argc, char* argv[]) {
GpgFrontend::UI::InitUILoggingSystem();
// init the logging system for ui
- GpgFrontend::Plugin::InitPluginLoggingSystem();
+ // GpgFrontend::Plugin::InitPluginLoggingSystem();
// change path to search for related
init_global_path_env();
@@ -165,7 +165,7 @@ int main(int argc, char* argv[]) {
} while (return_from_event_loop_code == RESTART_CODE && restart_count < 3);
// shutdown the logging system for core
- GpgFrontend::Plugin::ShutdownPluginLoggingSystem();
+ // GpgFrontend::Plugin::ShutdownPluginLoggingSystem();
// shutdown the logging system for ui
GpgFrontend::UI::ShutdownUILoggingSystem();