diff --git a/cmake/windows/helpers.cmake b/cmake/windows/helpers.cmake index 194cafeb..7da5dcdb 100644 --- a/cmake/windows/helpers.cmake +++ b/cmake/windows/helpers.cmake @@ -80,6 +80,8 @@ function(set_target_properties_plugin target) configure_file(cmake/windows/resources/installer-Windows.iss.in "${CMAKE_CURRENT_BINARY_DIR}/installer-Windows.generated.iss") + configure_file(data/res/images/logo.ico + "${CMAKE_CURRENT_BINARY_DIR}/installer.ico" COPYONLY) configure_file(cmake/windows/resources/resource.rc.in "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.rc") diff --git a/cmake/windows/resources/installer-Windows.iss.in b/cmake/windows/resources/installer-Windows.iss.in index bcaf099e..4dabe83b 100644 --- a/cmake/windows/resources/installer-Windows.iss.in +++ b/cmake/windows/resources/installer-Windows.iss.in @@ -20,6 +20,8 @@ OutputBaseFilename={#MyAppName}-{#MyAppVersion}-Windows-Installer Compression=lzma SolidCompression=yes DirExistsWarning=no +SetupIconFile=installer.ico +UninstallDisplayIcon={app}\data\obs-plugins\advanced-scene-switcher\res\images\logo.ico [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" diff --git a/data/res/images/logo.ico b/data/res/images/logo.ico new file mode 100644 index 00000000..1376d486 Binary files /dev/null and b/data/res/images/logo.ico differ