From 775e56ebee5056da242626a3cc86943e5b67722a Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Tue, 5 Dec 2023 16:58:56 +0200 Subject: [PATCH] Fix Windows installer --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13d6d28f..6f3419bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ env: CARGO_INCREMENTAL: 0 jobs: - executables: + release: strategy: matrix: build: @@ -107,10 +107,9 @@ jobs: - name: Package (Windows) run: | - Remove-Item -Recurse -Force target/gtk4 - New-Item target/gtk4 -ItemType Directory + New-Item target\gtk4 -ItemType Directory Copy-Item -Path C:\gtk-build\gtk\x64\release\bin\*.dll -Destination target\gtk4 - heat dir target\gtk4 -gg -sfrag -template:fragment -out target\gtk4\gtk4.wxs -cg GTK -dr GTK + C:\Program Files (x86)\WiX Toolset v3.11\bin\heat.exe dir target\gtk4 -gg -sfrag -template:fragment -out target\gtk4\gtk4.wxs -cg GTK -dr GTK # TODO cargo wix --include target\gtk4\gtk4.wxs --profile production if: runner.os == 'Windows'