Simplified fyne-cross
build commands in Makefile by removing redundant flags. Adjusted Windows binary naming during packaging.
This commit is contained in:
parent
f6958ffa97
commit
b56199fe8b
6
Makefile
6
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)/*; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user