File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,9 +136,10 @@ Install ProxyBar with Homebrew:
136136brew install --cask baha2046/proxybar/proxybar
137137```
138138
139- Or download ` ProxyBar-1.0.0 .zip ` from the
139+ Or download ` ProxyBar-1.0.1 .zip ` from the
140140[ GitHub Releases] ( https://github.com/baha2046/ProxyBar/releases ) page, unzip it,
141- and move ` ProxyBar.app ` to ` /Applications ` .
141+ and move ` ProxyBar.app ` to ` /Applications ` . Homebrew is recommended because the
142+ release is ad-hoc signed for personal distribution.
142143
143144## Build
144145
@@ -157,14 +158,14 @@ swift build -c release --product ProxyBar
157158Create the app bundle and release zip:
158159
159160``` sh
160- scripts/package-app.sh 1.0.0
161+ scripts/package-app.sh 1.0.1
161162```
162163
163164The app bundle and release archive are written to:
164165
165166``` text
166167.build/ProxyBar.app
167- dist/ProxyBar-1.0.0 .zip
168+ dist/ProxyBar-1.0.1 .zip
168169```
169170
170171## Use
Original file line number Diff line number Diff line change 22set -euo pipefail
33
44ROOT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) /.." && pwd) "
5- VERSION=" ${1:- 1.0.0 } "
5+ VERSION=" ${1:- 1.0.1 } "
66BUILD_NUMBER=" ${BUILD_NUMBER:- 1} "
7+ SIGNING_IDENTITY=" ${SIGNING_IDENTITY:- -} "
78APP_DIR=" $ROOT_DIR /.build/ProxyBar.app"
89CONTENTS_DIR=" $APP_DIR /Contents"
910MACOS_DIR=" $CONTENTS_DIR /MacOS"
@@ -46,9 +47,11 @@ cat > "$CONTENTS_DIR/Info.plist" <<PLIST
4647</plist>
4748PLIST
4849
50+ /usr/bin/codesign --force --deep --sign " $SIGNING_IDENTITY " " $APP_DIR "
4951/usr/bin/ditto -c -k --norsrc --keepParent " $APP_DIR " " $ZIP_PATH "
5052
5153echo " Created $APP_DIR "
5254echo " Created $ZIP_PATH "
55+ echo " Signed with identity: $SIGNING_IDENTITY "
5356echo " SHA-256:"
5457/usr/bin/shasum -a 256 " $ZIP_PATH "
You can’t perform that action at this time.
0 commit comments