From b56199fe8b16d2bf4e243f4a5739dff66eaae788 Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Sat, 14 Jun 2025 21:55:52 +0500 Subject: [PATCH] Simplified `fyne-cross` build commands in Makefile by removing redundant flags. Adjusted Windows binary naming during packaging. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fcf22ab..564205c 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ build: # $(RELEASES)/$(WINDOWS_AMD64).zip.sha256 build-for-windows_amd64: - fyne-cross windows --icon "assets/icon.png" --app-id "net.kor-elf.projects.gui-for-ffmpeg" --app-version $(VERSION) -name "gui-for-ffmpeg" + fyne-cross windows @if [ -d $(BUILD_TMP_WINDOWS_AMD64) ]; then \ rm -rf $(BUILD_TMP_WINDOWS_AMD64)/*; \ @@ -34,7 +34,7 @@ build-for-windows_amd64: fi cp LICENSE $(BUILD_TMP_WINDOWS_AMD64)/LICENSE cp LICENSE-3RD-PARTY.txt $(BUILD_TMP_WINDOWS_AMD64)/LICENSE-3RD-PARTY.txt - cp fyne-cross/bin/windows-amd64/gui-for-ffmpeg.exe $(BUILD_TMP_WINDOWS_AMD64)/gui-for-ffmpeg.exe + cp "fyne-cross/bin/windows-amd64/GUI for FFmpeg.exe" $(BUILD_TMP_WINDOWS_AMD64)/gui-for-ffmpeg.exe cd $(BUILD_TMP) && 7z a -tzip $(WINDOWS_AMD64).zip $(WINDOWS_AMD64) @if [ ! -d $(RELEASES) ]; then \ @@ -55,7 +55,7 @@ build-for-windows_amd64: # $(RELEASES)/$(WINDOWS_AMD64).zip.sha256 build-for-linux_amd64: - fyne-cross linux --icon "assets/icon.png" --app-id "net.kor-elf.projects.gui-for-ffmpeg" --app-version $(VERSION) -name "gui-for-ffmpeg" + fyne-cross linux @if [ -d $(BUILD_TMP_LINUX_AMD64) ]; then \ rm -rf $(BUILD_TMP_LINUX_AMD64)/*; \