add icon for Win (#64)

This commit is contained in:
notify 2023-03-05 06:55:12 +08:00 committed by GitHub
parent def3344a1f
commit 9cccaa460b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

BIN
image/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

1
image/icon.rc Normal file
View File

@ -0,0 +1 @@
IDI_ICON1 ICON "icon.ico"

View File

@ -44,6 +44,8 @@ if (WIN32)
set(SQLITE3_LIB ${PROJECT_SOURCE_DIR}/lib/win/sqlite3.dll)
set(CRYPTO_LIB OpenSSL::Crypto)
set(GIT_LIB ${PROJECT_SOURCE_DIR}/lib/win/libgit2.dll)
set(app_icon_resource_windows "${PROJECT_SOURCE_DIR}/image/icon.rc")
list(APPEND freekill_SRCS ${app_icon_resource_windows})
elseif (ANDROID)
set(LUA_LIB ${PROJECT_SOURCE_DIR}/lib/android/liblua54.so)
set(SQLITE3_LIB ${PROJECT_SOURCE_DIR}/lib/android/libsqlite3.so)