build(windows): 添加应用图标文件并更新安装配置

将应用图标文件添加到安装包中,并更新安装配置中的图标路径引用
This commit is contained in:
shanshanzhong 2025-11-24 01:25:46 -08:00
parent ac8a04fd24
commit d3f48e345e
2 changed files with 6 additions and 1 deletions

View File

@ -126,6 +126,11 @@ install(FILES "../libcore/bin/HiFastVPNCli.exe"
COMPONENT Runtime
OPTIONAL)
install(FILES "runner/resources/app_icon.ico"
DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime
OPTIONAL)
if(PLUGIN_BUNDLED_LIBRARIES)
install(FILES "${PLUGIN_BUNDLED_LIBRARIES}"

View File

@ -6,7 +6,7 @@ executable_name: HiFastVPN.exe
output_base_file_name: HiFastVPN.exe
create_desktop_icon: true
install_dir_name: "{autopf64}\\HiFastVPN"
setup_icon_file: ..\..\windows\runner\resources\app_icon.ico
setup_icon_file: "{{SOURCE_DIR}}\\app_icon.ico"
locales:
- ar
- en