Skip to content

Commit

Permalink
added code signing #683
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Apr 7, 2021
1 parent 91b6f29 commit 53f146d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
21 changes: 21 additions & 0 deletions app/gon.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"source": [
"./build/darwin/desktop/xbar.app"
],
"bundle_id": "com.xbarapp.app",
"apple_id": {
"username": "@env:AC_USERNAME",
"password": "@env:AC_PASSWORD",
"provider": "MatRyer173337473"
},
"sign": {
"application_identity": "2F00310F58CB6A52D928B715F7F4626B3B1A1813"
},
"dmg": {
"output_path": "./build/xbar.dmg",
"volume_name": "Install xbar"
},
"zip": {
"output_path": "./build/xbar.zip"
}
}
13 changes: 9 additions & 4 deletions app/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ sed "s/0.0.0/${VERSION}/" ./assets/mac/Info.plist.src > ./assets/mac/Info.plist
CGO_LDFLAGS=-mmacosx-version-min=10.13 wails build -package -production -platform darwin/amd64
#CGO_LDFLAGS=-mmacosx-version-min=10.13 wails build -package -production -platform darwin/arm64
#CGO_LDFLAGS=-mmacosx-version-min=10.13 wails build -package -production -platform darwin/universal
cd ./build/darwin/desktop
create-dmg ./xbar.app --overwrite --dmg-title "Install xbar"
tar -czvf xbar.${VERSION}.tar.gz ./xbar.app
#cd ./build/darwin/desktop
#create-dmg ./xbar.app --overwrite --dmg-title "Install xbar"
#tar -czvf xbar.${VERSION}.tar.gz ./xbar.app
#rm -rf ./xbar.app

open .
gon ./gon.config.json

mv ./build/xbar.dmg "./build/xbar.${VERSION}.dmg"
mv ./build/xbar.zip "./build/xbar.${VERSION}.zip"

open ./build

0 comments on commit 53f146d

Please sign in to comment.