build: Archive the windows .exe with data.

This commit is contained in:
Cory McWilliams 2025-01-02 13:00:42 -05:00
parent 3dcafdf403
commit 3cdbac5c22
2 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@ jobs:
with:
path: |
out/TildeFriends-release.fdroid.apk
out/winrelease/tildefriends.exe
out/winrelease/tildefriends.standalone.exe
out/tildefriends-x86_64.AppImage
out/release/tildefriends.standalone
out/armrelease/tildefriends.standalone

View File

@ -127,6 +127,7 @@ WINDOWS_TARGETS := \
out/winrelease/tildefriends.exe
ifeq ($(HAVE_WIN),1)
BUILD_TYPES += windebug winrelease
all: out/windebug/tildefriends.standalone.exe out/winrelease/tildefriends.standalone.exe
endif
AARCH64_TARGETS := \
@ -1091,6 +1092,7 @@ out/%.app/tildefriends.png: src/ios/tildefriends.png
@cp -v $< $@
out/data.zip: $(RAW_FILES)
@echo [zip] $@
@zip -u $@ -q -9 $(RAW_FILES)
out/tildefriends-%.app/tildefriends: out/%/tildefriends out/tildefriends-%.app/Info.plist out/tildefriends-%.app/tildefriends.png out/data.zip