Apple Store iPhone预约助手
go run main.go
# 使用打包脚本(自动处理签名问题)
./build.sh
# Mac OS 环境下打包
go install fyne.io/fyne/v2/cmd/fyne
go install github.com/fyne-io/fyne-cross
# 基础打包命令
fyne-cross darwin -arch=amd64,arm64 -app-id=apple.store.helper -name="Apple Store Helper"
fyne-cross windows -arch=amd64,386 -app-id=apple.store.helper -name="Apple Store Helper"
# macOS ARM64 版本需要额外处理签名
xattr -cr "fyne-cross/dist/darwin-arm64/Apple Store Helper.app"
codesign --force --deep --sign - "fyne-cross/dist/darwin-arm64/Apple Store Helper.app"
如果提示 fyne-cross: command not found,请配置 GO 环境变量
添加以下内容到 ~/.zshrc 或 ~/.bashrc 中
# GOLANG
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
GOROOT 为 GO 安装目录,根据实际安装位置修改
添加按钮,将需要监听的型号添加到监听列表开始按钮开始监听,检测到有货时会自动打开购物车页面开始https://api.day.app/xxxxxxxxx),粘贴至本应用的Bark 通知地址栏测试 Bark 通知,确认应用能够通知到你的 iOS 设备https://bark.day.app/暂无开放 Issues,或尚未同步最近议题。