62
62
- name : Move .dll files
63
63
run : |
64
64
$dest = "build\windows\x64\runner\Release"
65
- dir
66
65
cp $dest\helper\_internal/MSVCP140.dll $dest\
67
66
cp $dest\helper\_internal/VCRUNTIME140.dll $dest\
68
67
cp $dest\helper\_internal/VCRUNTIME140_1.dll $dest\
@@ -129,8 +128,8 @@ jobs:
129
128
ls -la
130
129
rm 1.zip
131
130
cd ..
132
- cp signed/authenticator-helper.exe yubioath-desktop-windows/yubioath-desktop-dennis-windows /helper/authenticator-helper.exe
133
- cp signed/authenticator.exe yubioath-desktop-windows/yubioath-desktop-dennis-windows /authenticator.exe
131
+ cp signed/authenticator-helper.exe yubioath-desktop-windows/* /helper/authenticator-helper.exe
132
+ cp signed/authenticator.exe yubioath-desktop-windows/* /authenticator.exe
134
133
- name : upload signed artifacts
135
134
uses : actions/upload-artifact@v4
136
135
with :
@@ -156,9 +155,11 @@ jobs:
156
155
157
156
- name : Create an unsigned .msi installer package
158
157
run : |
158
+ $arr = $env:GITHUB_REF -split '/'
159
+ $branch = $arr[2]
159
160
$env:PATH += ";$env:WIX\bin"
160
- $env:SRCDIR = "signed-files\yubioath-desktop-dennis -windows\"
161
- heat dir .\signed-files\yubioath-desktop-dennis -windows\ -out fragment.wxs -gg -scom -srd -sfrag -dr INSTALLDIR -cg ApplicationFiles -var env.SRCDIR
161
+ $env:SRCDIR = "signed-files\yubioath-desktop-$branch -windows\"
162
+ heat dir .\signed-files\yubioath-desktop-$branch -windows\ -out fragment.wxs -gg -scom -srd -sfrag -dr INSTALLDIR -cg ApplicationFiles -var env.SRCDIR
162
163
candle .\fragment.wxs .\resources\win\yubioath-desktop.wxs -ext WixUtilExtension -arch x64
163
164
light fragment.wixobj yubioath-desktop.wixobj -ext WixUIExtension -ext WixUtilExtension -o yubioath-desktop.msi
164
165
- name : Rename and archive app bundle
0 commit comments