Skip to content

Commit

Permalink
added configurations for windws and windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertArakelyan committed Oct 22, 2024
1 parent 452676b commit 44c8018
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

sql.db
NSWFinance.app
NSWFinance.exe
NSWFinance.zip
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 .
Expand Down

0 comments on commit 44c8018

Please sign in to comment.