49 lines
1.5 KiB
Markdown
49 lines
1.5 KiB
Markdown
# iOS Social App Patches
|
|
|
|
このディレクトリには、iOS版social-appのカスタマイズパッチが含まれています。
|
|
|
|
## パッチファイル一覧
|
|
|
|
- `001-social-app-ios-config.patch` - Dockerfile, app.config.js の設定変更
|
|
- `002-social-app-ios-lib.patch` - lib/constants.ts, lib/statsig, lib/url-helpers の変更
|
|
- `003-social-app-ios-view.patch` - Logo, Logotype, UserAvatar の UI 変更
|
|
- `004-social-app-ios-core.patch` - agent.ts, App.native.tsx, routes.ts のコア変更
|
|
- `005-social-app-ios-screens.patch` - Settings, Home, Privacy, TOS 画面の変更
|
|
- `006-social-app-ios-shell.patch` - Drawer, BottomBar, RightNav, ServerInput などシェル変更
|
|
- `007-social-app-ios-misc.patch` - notifications, ageAssurance, PolicyUpdate などその他変更
|
|
- `008-social-app-ios-policy-tos-error.patch` - プライバシーポリシー・利用規約の独自コンテンツ化、DIDエラー処理
|
|
|
|
## 使用方法
|
|
|
|
### パッチの適用
|
|
|
|
```bash
|
|
cd /Users/syui/ai/at/ios
|
|
./setup.zsh patch
|
|
```
|
|
|
|
### リポジトリのリセット
|
|
|
|
```bash
|
|
cd /Users/syui/ai/at/ios
|
|
./setup.zsh reset
|
|
```
|
|
|
|
### すべてのパッチを適用(デフォルト)
|
|
|
|
```bash
|
|
cd /Users/syui/ai/at/ios
|
|
./setup.zsh
|
|
```
|
|
|
|
## パッチの更新方法
|
|
|
|
repos/social-app で変更を加えた後:
|
|
|
|
```bash
|
|
cd /Users/syui/ai/at/repos/social-app
|
|
git diff [ファイル名] > /Users/syui/ai/at/ios/patching/新しいパッチ.patch
|
|
```
|
|
|
|
その後、`setup.zsh` の `PATCH_FILES_IOS` 配列に新しいパッチファイル名を追加してください。
|