From fb8eb8233f0a056abcebf147658962fb3a5c0bd6 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Tue, 11 Apr 2023 12:16:49 -0400 Subject: [PATCH] Add a desktop link in installer. --- CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7dd6fd0c..9e59d347 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,13 +73,20 @@ endif() set(CPACK_PACKAGE_VERSION_MAJOR "0") set(CPACK_PACKAGE_VERSION_MINOR "1") SET(CPACK_PACKAGE_VERSION_PATCH "0") +set(CPACK_PACKAGE_HOMEPAGE_URL "https://gpt4all.io") +set(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo.svg") +set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE) +set(CPACK_RESOURCE_FILE_README ${CMAKE_CURRENT_SOURCE_DIR}/README.md) +set(CPACK_PACKAGE_EXECUTABLES "GPT4All Chat") +set(CPACK_CREATE_DESKTOP_LINKS "GPT4All Chat") set(CPACK_IFW_PACKAGE_NAME "GPT4All Chat") set(CPACK_IFW_PACKAGE_TITLE "GPT4All Chat Installer") set(CPACK_IFW_PACKAGE_PUBLISHER "Adam Treat") set(CPACK_IFW_PRODUCT_URL "https://github.com/manyoso/gpt4all-chat") set(CPACK_IFW_PACKAGE_WIZARD_STYLE "Aero") +set(CPACK_IFW_PACKAGE_WINDOW_ICON "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo.svg") set(CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST OFF) -set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE) + include(CPack) include(CPackIFW) cpack_add_component(${COMPONENT_NAME_MAIN} DOWNLOADED)