diff --git a/app/gon.config.json b/app/gon.config.json new file mode 100644 index 000000000..281a4937f --- /dev/null +++ b/app/gon.config.json @@ -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" + } +} \ No newline at end of file diff --git a/app/package.sh b/app/package.sh index 997986305..043079f9d 100755 --- a/app/package.sh +++ b/app/package.sh @@ -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