[URL] Add icon resource for .url files (#6081)

Otherwise, the registration for .url files and the http/https protocols point to a missing icon in url.dll.
This commit is contained in:
Whindmar Saksit 2023-12-02 12:38:09 +01:00 committed by GitHub
parent 1cf6ce6b5a
commit f31f9facc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

@ -8,7 +8,15 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/url_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/url.def)
add_library(url MODULE ${SOURCE})
list(APPEND url_rc_deps
${CMAKE_CURRENT_SOURCE_DIR}/res/102.ico)
set_source_files_properties(url.rc PROPERTIES OBJECT_DEPENDS "${url_rc_deps}")
add_library(url MODULE
${SOURCE}
url.rc)
set_module_type(url win32dll)
target_link_libraries(url wine)
add_importlibs(url shell32 shlwapi msvcrt kernel32 ntdll)

BIN
dll/win32/url/res/102.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

1
dll/win32/url/url.rc Normal file
View file

@ -0,0 +1 @@
102 ICON "res/102.ico"