File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -196,8 +196,12 @@ function build_ref {
196
196
if [[ " $( uname -s) " == " Darwin" ]]; then
197
197
build_args+=(--universal --notarize)
198
198
fi
199
+ SUPPORTS_UNIVERSAL_WIN=[[ -d ]]
199
200
if [[ " $( uname -s) " == " MINGW" * ]]; then
200
- build_args+=(--universal)
201
+ if [[ -d " $BUILD_DIR /windows-installer" ]]; then
202
+ # build universal build if supported
203
+ build_args+=(--universal)
204
+ fi
201
205
fi
202
206
203
207
artifact_dir=$artifact_dir build " ${build_args[@]} " || return 1
@@ -208,6 +212,11 @@ function build_ref {
208
212
209
213
case " $( uname -s) " in
210
214
MINGW* |MSYS_NT* )
215
+ if [[ ! -d " $BUILD_DIR /windows-installer" ]]; then
216
+ echo " Building ARM64 installers"
217
+ target=aarch64-pc-windows-msvc artifact_dir=$artifact_dir build " ${build_args[@]} " || return 1
218
+ fi
219
+
211
220
echo " Packaging all PDB files..."
212
221
find ./windows/ \
213
222
./target/release/mullvad-daemon.pdb \
You can’t perform that action at this time.
0 commit comments