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 .