From 44c8018dff1400ba2bc049a78167ce231e4d5dc2 Mon Sep 17 00:00:00 2001 From: Albert Arakelyan Date: Tue, 22 Oct 2024 23:10:11 +0400 Subject: [PATCH] added configurations for windws and windows build --- .gitignore | 1 + Makefile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 54f30fd..192075b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ sql.db NSWFinance.app +NSWFinance.exe NSWFinance.zip \ No newline at end of file diff --git a/Makefile b/Makefile index 9592ef5..df6a001 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ BINARY_NAME=NSWFinance.app +BINARY_NAME_WINDOWS=NSWFinance.exe +APP_ID_WINDOWS=com.nswfinance.aa APP_NAME=NSWFinance VERSION=0.1.6 BUILD_NO=1 @@ -8,6 +10,10 @@ build: rm -rf ${BINARY_NAME} fyne package -appVersion ${VERSION} -appBuild ${BUILD_NO} -name ${APP_NAME} -release +build-windows: + rm ${BINARY_NAME_WINDOWS} + fyne package -os windows -name ${BINARY_NAME_WINDOWS} -appID ${APP_ID_WINDOWS} -release + ## run: builds and runs the application run: go run .