1
0

chore: add Inno Setup script for packing.
Some checks failed
Windows CI / msvc-cmake-build (win64_msvc2022_64, x64, 6.9.0, 2022) (push) Has been cancelled

- Add Inno Setup script for packing PPIC on Windows.
- Modify workflow file to use this script file to generate setup program on Windows.
This commit is contained in:
2024-10-12 14:51:47 +08:00
parent df5debb962
commit eeaf2210d2
3 changed files with 203 additions and 2 deletions

View File

@@ -217,6 +217,11 @@ if (WIN32)
set_target_properties(${EXE_NAME} PROPERTIES
WIN32_EXECUTABLE TRUE
)
configure_file(
${CMAKE_CURRENT_LIST_DIR}/dist/ppic.iss.in
${CMAKE_CURRENT_BINARY_DIR}/dist/ppic.iss
@ONLY
)
elseif (APPLE)
set_source_files_properties(assets/icons/app-icon.icns PROPERTIES
MACOSX_PACKAGE_LOCATION "Resources"