Skip to content

Commit

Permalink
Update README and build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
star-39 committed Feb 7, 2024
1 parent 7cf6602 commit 1610023
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_ipa_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

ipa:
name: Build iOS IPA
runs-on: macos-12
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ macOS 10.15+ is recommended.

Please open `ios/Runner.xcworkspace` in Xcode and sign the app, then:
```sh
flutter build ios \
--dart-define=MSB_WEBAPP_URL=https://msb.cloudns.asia/webapp \
--dart-define=MSB_BOT_NAME=moe_sticker_bot
flutter build ios --dart-define=MSB_BOT_NAME=moe_sticker_bot
```

### Android
Expand All @@ -82,11 +80,24 @@ For details, please refer to https://docs.flutter.dev/deployment/android#create-

Build:
```sh
flutter build apk \
--dart-define=MSB_WEBAPP_URL=https://msb.cloudns.asia/webapp \
--dart-define=MSB_BOT_NAME=moe_sticker_bot
flutter build apk --dart-define=MSB_BOT_NAME=moe_sticker_bot
```

## Development
Use `msb://` URI to invoke msb_app.

### Routes
#### `/export`
Params:

* `sn`: Sticker set name.
* `qid`: Query ID.
* `hex`: Hex verification code.
* `ws`: Target WebApp website.

#### `/settings`
#### `/about`

## License
GPL v3

Expand Down

0 comments on commit 1610023

Please sign in to comment.