Skip to content

Commit

Permalink
add suffix to packaged .app
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyuan committed Aug 1, 2024
1 parent ec2d289 commit 2f97ff6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
- name: package
run: make package
- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts
retention-days: 3
path: |
proxymanager
proxymanager.app/
proxymanager*.app/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/proxymanager
/bin/
/proxymanager.app
/proxymanager*.app
/fyne_metadata_init.go
.DS_Store
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ARCH := $(shell uname -m )

.PHONY: build
build:
go build
Expand All @@ -10,7 +12,8 @@ fieldalignment:
fieldalignment -fix ./...

package:
fyne package -os darwin -icon assets/icon.png
fyne package -os darwin -icon assets/icon.png --appID com.changshunzhen.proxymanager
mv proxymanager.app proxymanager-$(shell uname -m).app

install-deps:
go install fyne.io/fyne/v2/cmd/fyne@latest

0 comments on commit 2f97ff6

Please sign in to comment.