diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c259ecd..a13ba4c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f7a825..17a2a03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/dist/passoc/generic.ico b/dist/passoc/generic.ico new file mode 100644 index 0000000..fcdd679 Binary files /dev/null and b/dist/passoc/generic.ico differ diff --git a/dist/passoc/gif.ico b/dist/passoc/gif.ico new file mode 100644 index 0000000..b665f67 Binary files /dev/null and b/dist/passoc/gif.ico differ diff --git a/dist/passoc/jpeg.ico b/dist/passoc/jpeg.ico new file mode 100644 index 0000000..a3bec1d Binary files /dev/null and b/dist/passoc/jpeg.ico differ diff --git a/dist/passoc/png.ico b/dist/passoc/png.ico new file mode 100644 index 0000000..db07ca6 Binary files /dev/null and b/dist/passoc/png.ico differ diff --git a/dist/passoc/ppic.pacfg b/dist/passoc/ppic.pacfg index 7c7a437..b62d57d 100644 --- a/dist/passoc/ppic.pacfg +++ b/dist/passoc/ppic.pacfg @@ -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 diff --git a/dist/passoc/psd.ico b/dist/passoc/psd.ico new file mode 100644 index 0000000..711aca3 Binary files /dev/null and b/dist/passoc/psd.ico differ diff --git a/dist/passoc/svg.ico b/dist/passoc/svg.ico new file mode 100644 index 0000000..cb01372 Binary files /dev/null and b/dist/passoc/svg.ico differ