chore: add icons for Windows file assoc

This commit is contained in:
2025-12-11 00:07:31 +08:00
parent cdfa8b78a4
commit 4b5c9e9ebd
9 changed files with 16 additions and 1 deletions

View File

@ -126,7 +126,7 @@ jobs:
cmake --install build --config Release --prefix "%PWD%\build"
echo ::endgroup::
:: ------ pkg ------
windeployqt --verbose=2 --no-compiler-runtime --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\ppic.exe
windeployqt --verbose=2 --no-compiler-runtime --no-quick-import --no-translations --no-network --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation build\bin\ppic.exe
robocopy ./dependencies_bin/bin build/bin *.dll
if ErrorLevel 8 (exit /B 1)
copy LICENSE build\bin

View File

@ -276,6 +276,17 @@ if (WIN32)
DESTINATION ${CMAKE_INSTALL_BINDIR}
RENAME default-assoc.pacfg
)
install(
FILES
dist/passoc/generic.ico
dist/passoc/jpeg.ico
dist/passoc/gif.ico
dist/passoc/svg.ico
dist/passoc/png.ico
dist/passoc/psd.ico
DESTINATION "${CMAKE_INSTALL_BINDIR}/icons"
)
endif()
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)

BIN
dist/passoc/generic.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
dist/passoc/gif.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
dist/passoc/jpeg.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
dist/passoc/png.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -59,6 +59,10 @@ name=Tagged Image File Format
name[zh_CN]=标签图像文件格式
extensions=tif,tiff
[ProgId/bmp]
name=Bitmap
name[zh_CN]=位图
[ProgId/dds]
name=DirectDraw Surface

BIN
dist/passoc/psd.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
dist/passoc/svg.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB