From 228ef3e556d686289fc9d868864c07730445c0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Fri, 17 Jan 2025 13:56:45 +0100 Subject: [PATCH] workflows: windows: Create installer instead of portable It makes things much easier for the user, such as automatically associating video files with Clapper, makes menu entries, optional desktop icon and takes care of eventual uninstall and/or update later. --- .github/workflows/windows.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b9a6aae78..16b3ee9df 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -82,9 +82,14 @@ jobs: find $BUILD_PREFIX/lib/clapper-0.0/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin find $BUILD_PREFIX/lib/gstreamer-1.0/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin find $BUILD_PREFIX/lib/gio/ -name '*\.dll' -type f -exec ldd "{}" \; | grep '\/mingw.*\.dll' -o | xargs -I{} cp -n "{}" $BUILD_PREFIX/bin + - name: Installer + uses: Minionguyjpro/Inno-Setup-Action@v1.2.5 + with: + path: builddir/pkgs/windows-installer/clapper.iss + options: /O+ - name: Upload uses: actions/upload-artifact@v4 with: name: clapper-win-${{ matrix.arch }} - path: clapper-win-${{ matrix.arch }} + path: builddir/pkgs/windows-installer/InstallerOutput/Clapper*.exe if-no-files-found: error