pedax

pedax 是一个带有 edax 的棋盘 GUI,edax 是最强的翻转棋程序。

  • pedax 具有 4 个特性。
  • 您可以方便地查看评估值,例如 +4、-10。
  • 支持 Mac/Windows。Linux 尚未经验证。
  • 可自定义的重要选项,例如图书文件路径、搜索级别、高级指示器。
  • 支持 2 种语言(英语、日语)。

命令

format

flutter format -l 120 .

运行

flutter run -d macos

test

小部件测试
flutter test
集成测试
flutter drive --driver integration_test/driver.dart --target integration_test/app_test.dart -d macos

Linter

flutter analyze .

dart fix --apply # auto fix

获取 libedax 资产作为 pedax 资产

# After you edit .libedax_assets_tag, run this.
./scripts/fetch_libedax_assets.sh

发布

  1. 创建 new_release 分支。
  2. 通过 https://github.com/sensuikan1973/pedax/compare/new_release?expand=1&template=new_release.md&title=release+`X.Y.Z` 创建 PR。
  3. 通过 https://github.com/sensuikan1973/pedax/actions/workflows/publish.yaml 创建发布。
部署到 Apple Store
TAG=xxx
P8_PATH=xxx

ASC_KEY_ID=xxx \
ASC_ISSUER_ID=xxx \
APPLE_ID=xxx \
ITC_TEAM_ID=xxx \
./scripts/deploy_macos_app_to_app_store.sh $TAG $P8_PATH

之后,提交到 Apple Developer Console

部署到 Microsoft Store
  1. 从发布版本下载 pedax.msix
  2. 更新并提交到 Microsoft Developer Console