appcask 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f0d51a541f5586c68cf28eddb507601ddca48befa0535eddd890548d347225f
4
- data.tar.gz: cc423ed50bed805849e668f6d46d87a247c4d5757fdefe055b2908adfa052334
3
+ metadata.gz: 48679d79eff66c3c34e8ee886f5449a6c7919a114fb39472b132f1492cca43c1
4
+ data.tar.gz: 33588e1ff753e1515c8da38da478c201d11462e7419f4f36f36a0e4bfd91f20e
5
5
  SHA512:
6
- metadata.gz: cb37677efc67d9c7536e957fc4bed93348f21bd22cef2b427f32b887fff6cbf003a005d03736ddb44d04a09f9c79e37a00b8438175e6c063c835322720f329e4
7
- data.tar.gz: 64949b1704c15ba3fb5c95cc7b3c530180be5a10afeecb2961255afad3148f067c1d2ec865a11be5e4daf6105951850246cad4eac39c221fe9032b7d2e0c7202
6
+ metadata.gz: 95120b0ef5a1aed7f65affdfcbcf1e981e3d1479481edb9550e602ebb2acb8871d49304503f75670128f7a4fb4c507bc90d19ee8c730aab0e7582f6a5829e724
7
+ data.tar.gz: 5752039b68b0257ace847d0487799d28d16a589338e8b2d5ccccc51a8e4c64e0051176b3cf5f372fbb9ecb2164850a5ed1361253e22ebbc44d317f2d21a67dda
data/.idea/workspace.xml CHANGED
@@ -4,10 +4,13 @@
4
4
  <option name="autoReloadType" value="SELECTIVE" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="1bd4c817-c426-471c-bdf5-e80649db2ae2" name="更改" comment="delete gem">
7
+ <list default="true" id="1bd4c817-c426-471c-bdf5-e80649db2ae2" name="更改" comment="Release v0.4.0">
8
8
  <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/lib/appcask.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/appcask.rb" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/CHANGELOG.md" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.md" afterDir="false" />
10
+ <change beforePath="$PROJECT_DIR$/QUICKSTART.md" beforeDir="false" afterPath="$PROJECT_DIR$/QUICKSTART.md" afterDir="false" />
11
+ <change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
10
12
  <change beforePath="$PROJECT_DIR$/lib/appcask/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/appcask/version.rb" afterDir="false" />
13
+ <change beforePath="$PROJECT_DIR$/sig/appcask.rbs" beforeDir="false" afterPath="$PROJECT_DIR$/sig/appcask.rbs" afterDir="false" />
11
14
  </list>
12
15
  <option name="SHOW_DIALOG" value="false" />
13
16
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -17,18 +20,18 @@
17
20
  <component name="Git.Settings">
18
21
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
19
22
  </component>
20
- <component name="GitHubPullRequestSearchHistory"><![CDATA[{
21
- "lastFilter": {
22
- "state": "OPEN",
23
- "assignee": "gamepunk"
23
+ <component name="GitHubPullRequestSearchHistory">{
24
+ &quot;lastFilter&quot;: {
25
+ &quot;state&quot;: &quot;OPEN&quot;,
26
+ &quot;assignee&quot;: &quot;gamepunk&quot;
24
27
  }
25
- }]]></component>
26
- <component name="GithubPullRequestsUISettings"><![CDATA[{
27
- "selectedUrlAndAccountId": {
28
- "url": "git@github.com:gamepunk/appcask.git",
29
- "accountId": "c65009d6-c05d-4123-9f5d-523285df6f23"
28
+ }</component>
29
+ <component name="GithubPullRequestsUISettings">{
30
+ &quot;selectedUrlAndAccountId&quot;: {
31
+ &quot;url&quot;: &quot;git@github.com:gamepunk/appcask.git&quot;,
32
+ &quot;accountId&quot;: &quot;c65009d6-c05d-4123-9f5d-523285df6f23&quot;
30
33
  }
31
- }]]></component>
34
+ }</component>
32
35
  <component name="ProjectColorInfo">{
33
36
  &quot;associatedIndex&quot;: 3
34
37
  }</component>
@@ -45,6 +48,7 @@
45
48
  "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
46
49
  "RunOnceActivity.git.unshallow": "true",
47
50
  "RunOnceActivity.typescript.service.memoryLimit.init": "true",
51
+ "SHELLCHECK.PATH": "/Users/billow/Library/Application Support/JetBrains/RubyMine2025.3/plugins/Shell Script/shellcheck",
48
52
  "com.intellij.lang.ruby.rbs.tools.collection.workspace.sync.RbsCollectionUpdateProjectActivity#LAST_UPDATE_TIMESTAMP": "1769702888715",
49
53
  "git-widget-placeholder": "main",
50
54
  "node.js.detected.package.eslint": "true",
@@ -75,6 +79,8 @@
75
79
  <workItem from="1767270116395" duration="20000" />
76
80
  <workItem from="1769697520161" duration="4958000" />
77
81
  <workItem from="1769702829159" duration="2415000" />
82
+ <workItem from="1769709405343" duration="432000" />
83
+ <workItem from="1769754602300" duration="460000" />
78
84
  </task>
79
85
  <task id="LOCAL-00001" summary="delete gem">
80
86
  <option name="closed" value="true" />
@@ -84,7 +90,15 @@
84
90
  <option name="project" value="LOCAL" />
85
91
  <updated>1769704203657</updated>
86
92
  </task>
87
- <option name="localTasksCounter" value="2" />
93
+ <task id="LOCAL-00002" summary="Release v0.4.0">
94
+ <option name="closed" value="true" />
95
+ <created>1769709497761</created>
96
+ <option name="number" value="00002" />
97
+ <option name="presentableId" value="LOCAL-00002" />
98
+ <option name="project" value="LOCAL" />
99
+ <updated>1769709497761</updated>
100
+ </task>
101
+ <option name="localTasksCounter" value="3" />
88
102
  <servers />
89
103
  </component>
90
104
  <component name="TypeScriptGeneratedFilesManager">
@@ -93,6 +107,7 @@
93
107
  <component name="VcsManagerConfiguration">
94
108
  <MESSAGE value="first commit" />
95
109
  <MESSAGE value="delete gem" />
96
- <option name="LAST_COMMIT_MESSAGE" value="delete gem" />
110
+ <MESSAGE value="Release v0.4.0" />
111
+ <option name="LAST_COMMIT_MESSAGE" value="Release v0.4.0" />
97
112
  </component>
98
113
  </project>
data/CHANGELOG.md CHANGED
@@ -4,29 +4,29 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [0.1.0] - 2026-01-29
6
6
 
7
- ### 🎉 AppCask 首次发布
8
-
9
- #### 🆕 下载模式
10
- - ✨ **图标下载** - 4 种尺寸可选 (60x60 1024x1024)
11
- - 📸 **截图下载** - 支持 iPhone iPad 截图批量下载
12
- - 📝 **应用信息导出** - 3 种格式 (TXT/JSON/Markdown)
13
- - 📦 **完整包下载** - 一键下载所有资源
14
-
15
- #### 📋 应用信息字段
16
- - 基本信息:名称、IDBundle ID、开发者
17
- - 版本信息:版本号、文件大小、系统要求、支持设备
18
- - 评分数据:平均评分、评分数量
19
- - 价格信息:价格、货币
20
- - 分类信息:主分类、所有分类
21
- - 内容信息:应用描述、版本更新说明
22
- - 链接信息:App Store 链接、开发者网站
23
-
24
- #### 🌍 更多区域
25
- 新增支持:
26
- - 🇹🇼 台湾 (tw)
27
- - 🇬🇧 英国 (gb)
28
- - 🇩🇪 德国 (de)
29
- - 🇫🇷 法国 (fr)
7
+ ### 🎉 Initial Release
8
+
9
+ #### 🆕 Download Modes
10
+ - ✨ **Icon Download** - 4 sizes available (60x60 to 1024x1024)
11
+ - 📸 **Screenshot Download** - Batch download for iPhone and iPad screenshots
12
+ - 📝 **App Info Export** - 3 formats (TXT/JSON/Markdown)
13
+ - 📦 **Full Package Download** - One-click download of all resources
14
+
15
+ #### 📋 App Info Fields
16
+ - Basic Info: Name, ID, Bundle ID, Developer
17
+ - Version Info: Version number, file size, system requirements, supported devices
18
+ - Rating Data: Average rating, number of ratings
19
+ - Price Info: Price, currency
20
+ - Category Info: Primary category, all categories
21
+ - Content Info: App description, version update notes
22
+ - Link Info: App Store link, developer website
23
+
24
+ #### 🌍 More Regions
25
+ New support added for:
26
+ - 🇹🇼 Taiwan (tw)
27
+ - 🇬🇧 United Kingdom (gb)
28
+ - 🇩🇪 Germany (de)
29
+ - 🇫🇷 France (fr)
30
30
 
31
31
  ## [0.2.0] - 2026-01-30
32
32
 
@@ -34,3 +34,20 @@ All notable changes to this project will be documented in this file.
34
34
  - Add: improved CLI UX and error messages
35
35
  - Add: full app info export (txt/json/markdown)
36
36
  - Improve: screenshot & icon download stability
37
+
38
+ ## [0.3.0] - 2026-01-30
39
+
40
+ ### 🏗️ Refactoring
41
+ - Rename module from `Appcask` to `AppCask` for better naming convention
42
+ - Use `require_relative` instead of `require` for internal dependencies
43
+
44
+ ## [0.4.0] - 2026-01-30
45
+
46
+ ### 🔒 Security
47
+ - Add SSL certificate verification (`OpenSSL::SSL::VERIFY_PEER`)
48
+
49
+ ### 🎨 UI Improvements
50
+ - Fix region selection display format (one region per line for better readability)
51
+
52
+ ### 📚 Documentation
53
+ - Update Ruby version requirement in README
data/QUICKSTART.md CHANGED
@@ -1,140 +1,140 @@
1
- # AppCask 快速入门指南
1
+ # AppCask Quick Start Guide
2
2
 
3
- ## 欢迎使用 AppCask! 🎉
3
+ ## 🎉 Welcome to AppCask!
4
4
 
5
- AppCask 是一个强大的命令行工具,可以帮你下载 App Store 应用的各种资源。
5
+ AppCask is a powerful command-line tool that helps you download various resources from App Store applications.
6
6
 
7
- ## 5分钟快速上手
7
+ ## Get Started in 5 Minutes
8
8
 
9
- ### 1️⃣ 安装
9
+ ### 1️⃣ Installation
10
10
 
11
11
  ```bash
12
12
  gem install appcask
13
13
  ```
14
14
 
15
- ### 2️⃣ 第一次使用
15
+ ### 2️⃣ First Time Use
16
16
 
17
- 最简单的方式 - 直接运行:
17
+ The simplest way - just run:
18
18
 
19
19
  ```bash
20
20
  appcask
21
21
  ```
22
22
 
23
- 然后按照提示操作即可!
23
+ Then follow the prompts!
24
24
 
25
- ### 3️⃣ 快速搜索
25
+ ### 3️⃣ Quick Search
26
26
 
27
- 如果你知道要找什么应用:
27
+ If you know what app you're looking for:
28
28
 
29
29
  ```bash
30
30
  appcask "Instagram"
31
31
  ```
32
32
 
33
- ### 4️⃣ 选择下载内容
33
+ ### 4️⃣ Select Download Content
34
34
 
35
- 运行后,你会看到 4 个选项:
35
+ After running, you'll see 4 options:
36
36
 
37
37
  ```
38
- [1] 图标 - 下载应用图标(4种尺寸)
39
- [2] 截图 - 下载应用截图(iPhoneiPad
40
- [3] 简介信息 - 导出应用详细信息
41
- [4] 完整包 - 一次下载所有内容
38
+ [1] Icons - Download app icons (4 sizes)
39
+ [2] Screenshots - Download app screenshots (iPhone and iPad)
40
+ [3] App Info - Export detailed app information
41
+ [4] Full Package - Download everything at once
42
42
  ```
43
43
 
44
- 推荐新手选择 **[4] 完整包**,一次获取所有资源!
44
+ We recommend beginners choose **[4] Full Package** to get all resources in one go!
45
45
 
46
- ## 常用场景
46
+ ## Common Use Cases
47
47
 
48
- ### 场景1: 我想要应用的高清图标
48
+ ### Scenario 1: I want high-resolution app icons
49
49
 
50
50
  ```bash
51
- appcask "应用名称"
52
- # 选择 [1] 图标
53
- # 选择 [3] 1024x1024
51
+ appcask "App Name"
52
+ # Select [1] Icons
53
+ # Select [3] 1024x1024
54
54
  ```
55
55
 
56
- ### 场景2: 我需要应用的所有截图
56
+ ### Scenario 2: I need all screenshots of the app
57
57
 
58
58
  ```bash
59
- appcask "应用名称"
60
- # 选择 [2] 截图
61
- # 选择 all (下载所有设备的截图)
59
+ appcask "App Name"
60
+ # Select [2] Screenshots
61
+ # Select all (download screenshots for all devices)
62
62
  ```
63
63
 
64
- ### 场景3: 我要做应用分析,需要详细信息
64
+ ### Scenario 3: I need detailed info for app analysis
65
65
 
66
66
  ```bash
67
- appcask "应用名称"
68
- # 选择 [3] 简介信息
69
- # 会生成 3 个文件: TXT, JSON, Markdown
67
+ appcask "App Name"
68
+ # Select [3] App Info
69
+ # Generates 3 files: TXT, JSON, Markdown
70
70
  ```
71
71
 
72
- ### 场景4: 我什么都要!
72
+ ### Scenario 4: I want everything!
73
73
 
74
74
  ```bash
75
- appcask "应用名称"
76
- # 选择 [4] 完整包
77
- # 一次性下载图标、截图、信息
75
+ appcask "App Name"
76
+ # Select [4] Full Package
77
+ # Download icons, screenshots, and info in one go
78
78
  ```
79
79
 
80
- ## 下载的文件在哪里?
80
+ ## Where Are Downloaded Files Saved?
81
81
 
82
- 默认保存位置:
82
+ Default save location:
83
83
 
84
84
  ```
85
- ~/Desktop/AppCask Downloads/应用名称/
85
+ ~/Desktop/AppCask Downloads/App Name/
86
86
  ```
87
87
 
88
- 目录结构:
88
+ Directory structure:
89
89
 
90
90
  ```
91
91
  Instagram/
92
- ├── icons/ # 所有尺寸的图标
93
- ├── screenshots/ # 按设备分类的截图
92
+ ├── icons/ # Icons in all sizes
93
+ ├── screenshots/ # Screenshots organized by device
94
94
  │ ├── iPhone/
95
95
  │ └── iPad/
96
- ├── app_info.txt # 文本格式信息
97
- ├── app_info.json # JSON格式信息
98
- └── README.md # Markdown格式文档
96
+ ├── app_info.txt # Text format info
97
+ ├── app_info.json # JSON format info
98
+ └── README.md # Markdown format documentation
99
99
  ```
100
100
 
101
- ## 搜索其他国家的 App Store
101
+ ## Search App Stores in Other Countries
102
102
 
103
- AppCask 支持 9 个国家/地区:
103
+ AppCask supports 9 countries/regions:
104
104
 
105
105
  ```bash
106
- # 搜索中国区
107
- appcask "微信" cn
106
+ # Search China region
107
+ appcask "WeChat" cn
108
108
 
109
- # 搜索日本区
109
+ # Search Japan region
110
110
  appcask "Line" jp
111
111
 
112
- # 搜索韩国区
112
+ # Search Korea region
113
113
  appcask "KakaoTalk" kr
114
114
  ```
115
115
 
116
- 支持的区域代码:
117
- - `us` - 🇺🇸 美国
118
- - `cn` - 🇨🇳 中国
119
- - `jp` - 🇯🇵 日本
120
- - `kr` - 🇰🇷 韩国
121
- - `hk` - 🇭🇰 香港
122
- - `tw` - 🇹🇼 台湾
123
- - `gb` - 🇬🇧 英国
124
- - `de` - 🇩🇪 德国
125
- - `fr` - 🇫🇷 法国
116
+ Supported region codes:
117
+ - `us` - 🇺🇸 United States
118
+ - `cn` - 🇨🇳 China
119
+ - `jp` - 🇯🇵 Japan
120
+ - `kr` - 🇰🇷 Korea
121
+ - `hk` - 🇭🇰 Hong Kong
122
+ - `tw` - 🇹🇼 Taiwan
123
+ - `gb` - 🇬🇧 United Kingdom
124
+ - `de` - 🇩🇪 Germany
125
+ - `fr` - 🇫🇷 France
126
126
 
127
- ## 快捷键
127
+ ## Shortcuts
128
128
 
129
- - **回车** - 使用默认选项
130
- - **q** - 退出当前步骤
131
- - **Ctrl+C** - 安全退出程序
129
+ - **Enter** - Use default option
130
+ - **q** - Exit current step
131
+ - **Ctrl+C** - Safely exit the program
132
132
 
133
- ## 实用技巧
133
+ ## Useful Tips
134
134
 
135
- ### 技巧1: 批量下载
135
+ ### Tip 1: Batch Download
136
136
 
137
- 创建一个文本文件 `apps.txt`:
137
+ Create a text file `apps.txt`:
138
138
 
139
139
  ```
140
140
  Instagram
@@ -143,7 +143,7 @@ Facebook
143
143
  TikTok
144
144
  ```
145
145
 
146
- 然后运行:
146
+ Then run:
147
147
 
148
148
  ```bash
149
149
  while read app; do
@@ -152,73 +152,73 @@ while read app; do
152
152
  done < apps.txt
153
153
  ```
154
154
 
155
- ### 技巧2: 只看不下载
155
+ ### Tip 2: Preview Only, No Download
156
156
 
157
- 想看看有哪些信息但不下载?按 `q` 随时退出!
157
+ Want to see what information is available without downloading? Press `q` to exit anytime!
158
158
 
159
- ### 技巧3: macOS 用户专属
159
+ ### Tip 3: macOS Exclusive
160
160
 
161
- 下载完成后,选择 `y` 直接打开文件夹:
161
+ After download completes, select `y` to open the folder directly:
162
162
 
163
163
  ```
164
- 是否打开文件夹? (y/n): y
164
+ Open folder? (y/n): y
165
165
  ```
166
166
 
167
- ## 遇到问题?
167
+ ## Having Issues?
168
168
 
169
- ### 问题1: 找不到应用
169
+ ### Issue 1: Can't find the app
170
170
 
171
- 解决方法:
172
- - 检查拼写
173
- - 尝试用英文名搜索
174
- - 切换不同区域
171
+ Solutions:
172
+ - Check spelling
173
+ - Try searching with the English name
174
+ - Switch to different regions
175
175
 
176
- ### 问题2: 网络超时
176
+ ### Issue 2: Network timeout
177
177
 
178
- 解决方法:
179
- - 检查网络连接
180
- - 使用 VPN
181
- - 稍后重试
178
+ Solutions:
179
+ - Check network connection
180
+ - Use VPN
181
+ - Try again later
182
182
 
183
- ### 问题3: 下载失败
183
+ ### Issue 3: Download failed
184
184
 
185
- 解决方法:
185
+ Solutions:
186
186
 
187
187
  ```bash
188
- DEBUG=1 appcask "应用名称"
188
+ DEBUG=1 appcask "App Name"
189
189
  ```
190
190
 
191
- 这会显示详细的错误信息,方便排查问题。
191
+ This will display detailed error messages for troubleshooting.
192
192
 
193
- ## 下一步
193
+ ## What's Next?
194
194
 
195
- ### 了解更多功能
195
+ ### Learn More Features
196
196
 
197
- 查看完整文档:
197
+ Check full documentation:
198
198
 
199
199
  ```bash
200
- # 如果安装了 gem
200
+ # If you have the gem installed
201
201
  gem help appcask
202
202
  ```
203
203
 
204
- 或访问 GitHub 仓库查看 README.md
204
+ Or visit the GitHub repository to view README.md
205
205
 
206
- ### 升级到最新版
206
+ ### Upgrade to Latest Version
207
207
 
208
208
  ```bash
209
209
  gem update appcask
210
210
  ```
211
211
 
212
- ### 分享你的使用经验
212
+ ### Share Your Experience
213
213
 
214
- 觉得好用?给项目点个 Star
214
+ Find it helpful? Give the project a Star
215
215
 
216
- 有问题?提交 Issue 📝
216
+ 📝 Have questions? Submit an Issue
217
217
 
218
- 有建议?发起 Pull Request 🚀
218
+ 🚀Have suggestions? Open a Pull Request
219
219
 
220
- ## 最后
220
+ ## Lastly
221
221
 
222
- 享受使用 AppCask!如有任何问题,欢迎反馈。
222
+ Enjoy using AppCask! If you have any questions, feedback is always welcome.
223
223
 
224
- Happy downloading! 🎊
224
+ 🎊 Happy downloading!
data/README.md CHANGED
@@ -1,73 +1,73 @@
1
- # AppCask - App Store 资源下载工具
1
+ # AppCask - App Store Resources Downloader
2
2
 
3
3
  <div align="center">
4
4
 
5
- ![Version](https://img.shields.io/badge/version-0.3.0-blue.svg)
5
+ ![Version](https://img.shields.io/badge/version-0.4.0-blue.svg)
6
6
  ![Ruby](https://img.shields.io/badge/ruby-%3E%3D%203.2.0-red.svg)
7
7
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
8
8
 
9
- 一个全能的命令行工具,用于下载 iOS App Store 的应用资源
10
- **图标 · 截图 · 应用简介 · 一键打包**
9
+ An all-in-one command-line tool for downloading resources of iOS App Store apps
10
+ **Icons Screenshots App Description • One-click Packaging**
11
11
 
12
- [功能特性](#-功能特性) • [安装](#-安装) • [使用指南](#-使用指南) • [示例](#-使用示例)
12
+ [Features](#-features) • [Installation](#-installation) • [Usage Guide](#-usage-guide) • [Examples](#-usage-examples)
13
13
 
14
14
  </div>
15
15
 
16
16
  ---
17
17
 
18
- ## ✨ 功能特性
19
-
20
- ### 🎨 图标下载
21
- - 支持 4 种尺寸:60x60100x100512x5121024x1024
22
- - 自动检测图片格式 (PNG/JPG/GIF/WEBP)
23
- - 智能文件命名
24
-
25
- ### 📸 截图下载
26
- - iPhone 截图
27
- - iPad 截图
28
- - 批量下载所有截图
29
- - 自动分类保存
30
-
31
- ### 📝 应用信息导出
32
- - **TXT 格式** - 易读的文本文件
33
- - **JSON 格式** - 结构化数据
34
- - **Markdown 格式** - 精美的文档
35
-
36
- 包含信息:
37
- - 基本信息(名称、开发者、Bundle ID
38
- - 版本信息(当前版本、文件大小、系统要求)
39
- - 评分统计(平均分、评分数量)
40
- - 价格信息
41
- - 应用描述
42
- - 版本更新说明
43
- - 相关链接
44
-
45
- ### 📦 一键完整包
46
- 下载应用的所有资源,包括:
47
- - 所有尺寸的图标
48
- - 所有设备的截图
49
- - 完整的应用信息(3种格式)
50
-
51
- ### 🌍 多区域支持
52
- - 🇺🇸 美国 (us)
53
- - 🇨🇳 中国 (cn)
54
- - 🇯🇵 日本 (jp)
55
- - 🇰🇷 韩国 (kr)
56
- - 🇭🇰 香港 (hk)
57
- - 🇹🇼 台湾 (tw)
58
- - 🇬🇧 英国 (gb)
59
- - 🇩🇪 德国 (de)
60
- - 🇫🇷 法国 (fr)
18
+ ## ✨ Features
19
+
20
+ ### 🎨 Icon Download
21
+ - Supports four sizes: 60x60, 100x100, 512x512, 1024x1024
22
+ - Auto-detect image formats (PNG/JPG/GIF/WEBP)
23
+ - Intelligent file naming
24
+
25
+ ### 📸 Screenshot Download
26
+ - iPhone screenshots
27
+ - iPad screenshots
28
+ - Batch download all screenshots
29
+ - Automatic organization and saving
30
+
31
+ ### 📝 Export App Information
32
+ - **TXT format** - Human-readable text
33
+ - **JSON format** - Structured data
34
+ - **Markdown format** - Elegant documentation
35
+
36
+ Included information:
37
+ - Basic information (name, developer, Bundle ID)
38
+ - Version information (current version, file size, system requirements)
39
+ - Rating statistics (average rating, number of ratings)
40
+ - Pricing information
41
+ - App description
42
+ - Version update notes
43
+ - Related links
44
+
45
+ ### 📦 One-click Full Package
46
+ Download all resources for the app, including:
47
+ - Icons in all sizes
48
+ - Screenshots for all devices
49
+ - Complete app information (in 3 formats)
50
+
51
+ ### 🌍 Multiregion Support
52
+ - 🇺🇸 United States (US)
53
+ - 🇨🇳 China (CN)
54
+ - 🇯🇵 Japan (JP)
55
+ - 🇰🇷 Korea (KR)
56
+ - 🇭🇰 Hong Kong (HK)
57
+ - 🇹🇼 Taiwan (TW)
58
+ - 🇬🇧 United Kingdom (GB)
59
+ - 🇩🇪 Germany (DE)
60
+ - 🇫🇷 France (FR)
61
61
 
62
62
  ---
63
63
 
64
- ## 📦 安装
64
+ ## 📦 Installation
65
65
 
66
66
  ```bash
67
67
  gem install appcask
68
68
  ```
69
69
 
70
- 或从源码安装:
70
+ Or from source:
71
71
 
72
72
  ```bash
73
73
  git clone https://github.com/yourusername/appcask.git
@@ -79,81 +79,81 @@ gem install pkg/appcask-1.0.0.gem
79
79
 
80
80
  ---
81
81
 
82
- ## 🚀 快速开始
82
+ ## 🚀 Quick Start
83
83
 
84
84
  ```bash
85
- # 交互模式
85
+ # Interactive mode
86
86
  appcask
87
87
 
88
- # 快速搜索
88
+ # Quick search
89
89
  appcask "Instagram"
90
90
 
91
- # 指定区域
92
- appcask "微信" cn
91
+ # Specify region
92
+ appcask "WeChat" cn
93
93
  ```
94
94
 
95
- ### 完整演示
95
+ ### Full Demo
96
96
 
97
97
  ```
98
98
  $ appcask "Twitter"
99
99
 
100
100
  ╔═══════════════════════════════════════════╗
101
- ║ AppCask - App 资源下载工具
101
+ ║ AppCask - App Resources Downloader
102
102
  ║ v1.0.0 ║
103
103
  ╚═══════════════════════════════════════════╝
104
104
 
105
- 🔍 正在搜索 "Twitter"...
105
+ 🔍 Searching for "Twitter"...
106
106
 
107
- 📋 找到 3 个结果:
107
+ 📋 Found 3 results:
108
108
 
109
109
  [0] X
110
- 开发者: X Corp. | 版本: 10.31
111
- 价格: Free | 评分: ⭐ 4.2
110
+ Developer: X Corp. | Version: 10.31
111
+ Price: Free | Rating: ⭐ 4.2
112
112
 
113
- 请选择 (0-2, 或按q退出): 0
113
+ Please choose (0-2, or press q to quit): 0
114
114
 
115
- 已选择: X
115
+ Selected: X
116
116
 
117
- 📦 选择下载内容:
118
- [1] 图标
119
- [2] 截图
120
- [3] 简介信息
121
- [4] 完整包(图标+截图+简介)
117
+ 📦 Choose content to download:
118
+ [1] Icon
119
+ [2] Screenshots
120
+ [3] Description
121
+ [4] Full package (Icons + Screenshots + Description)
122
122
 
123
- 请选择 (1-4): 4
123
+ Please choose (1-4): 4
124
124
 
125
- 下载完成!
125
+ Download complete!
126
126
  📁 ~/Desktop/AppCask Downloads/X
127
- 📊 统计: 15 个文件, 总大小 8.45 MB
127
+ 📊 Stats: 15 files, total size 8.45 MB
128
128
  ```
129
129
 
130
130
  ---
131
131
 
132
- ## 📖 使用示例
132
+ ## 📖 Usage Examples
133
133
 
134
- ### 仅下载图标
134
+ ### Download Only Icons
135
135
 
136
136
  ```bash
137
137
  appcask "Instagram"
138
- # 选择: [1] 图标 → [3] 1024x1024
138
+ # Choose: [1] Icons → [3] 1024x1024
139
139
  ```
140
140
 
141
- ### 下载所有截图
141
+ ### Download All Screenshots
142
142
 
143
143
  ```bash
144
- appcask "王者荣耀" cn
145
- # 选择: [2] 截图 → all
144
+ appcask "Honor of Kings" cn
145
+ # Choose: [2] Screenshots → all
146
146
  ```
147
147
 
148
- ### 导出应用信息
148
+ ### Export App Information
149
149
 
150
150
  ```bash
151
151
  appcask "Notion"
152
- # 选择: [3] 简介信息
153
- # 输出: TXT + JSON + Markdown
152
+ # Choose: [3] Description
153
+ # Output: TXT + JSON + Markdown
154
154
  ```
155
155
 
156
- ### 批量下载
156
+ ### Batch Download
157
157
 
158
158
  ```ruby
159
159
  #!/usr/bin/env ruby
@@ -168,7 +168,7 @@ end
168
168
 
169
169
  ---
170
170
 
171
- ## 📂 文件结构
171
+ ## 📂 File Structure
172
172
 
173
173
  ```
174
174
  AppCask Downloads/
@@ -188,57 +188,57 @@ AppCask Downloads/
188
188
 
189
189
  ---
190
190
 
191
- ## 🔧 高级功能
191
+ ## 🔧 Advanced Features
192
192
 
193
- ### Debug 模式
193
+ ### Debug Mode
194
194
 
195
195
  ```bash
196
196
  DEBUG=1 appcask "AppName"
197
197
  ```
198
198
 
199
- ### 快捷操作
199
+ ### Quick Operations
200
200
 
201
- - **回车** - 默认选项
202
- - **q** - 退出
203
- - **Ctrl+C** - 中断
201
+ - **Enter** - Default option
202
+ - **q** - Quit
203
+ - **Ctrl+C** - Interrupt
204
204
 
205
205
  ---
206
206
 
207
- ## 🐛 故障排除
207
+ ## 🐛 Troubleshooting
208
208
 
209
- **Q: 搜索不到应用?**
210
- A: 确认拼写、尝试切换区域
209
+ **Q: Can't find the app?**
210
+ A: Check spelling and try switching regions
211
211
 
212
- **Q: 图标尺寸不对?**
213
- A: 部分应用不支持 1024x1024
212
+ **Q: Icon size is wrong?**
213
+ A: Some apps do not support 1024x1024
214
214
 
215
- **Q: 网络超时?**
216
- A: 检查网络、使用 VPN
215
+ **Q: Network timeout?**
216
+ A: Check network, use VPN
217
217
 
218
- **Q: 文件保存在哪?**
218
+ **Q: Where are files saved?**
219
219
  A: `~/Desktop/AppCask Downloads/`
220
220
 
221
221
  ---
222
222
 
223
- ## 🎯 路线图
223
+ ## 🎯 Roadmap
224
224
 
225
- - [ ] macOS App Store 支持
226
- - [ ] 应用评论下载
227
- - [ ] 批量下载模式
228
- - [ ] Web 界面
225
+ - [ ] macOS App Store support
226
+ - [ ] App reviews download
227
+ - [ ] Batch download mode
228
+ - [ ] Web interface
229
229
 
230
230
  ---
231
231
 
232
- ## 📄 许可证
232
+ ## 📄 License
233
233
 
234
234
  MIT License
235
235
 
236
236
  ---
237
237
 
238
- ## 📮 联系
238
+ ## 📮 Contact
239
239
 
240
240
  - GitHub: [@yourusername](https://github.com/yourusername)
241
- - Issues: [反馈问题](https://github.com/yourusername/appcask/issues)
241
+ - Issues: [Feedback issues](https://github.com/yourusername/appcask/issues)
242
242
 
243
243
  ---
244
244
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppCask
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
data/sig/appcask.rbs CHANGED
@@ -1,4 +1,4 @@
1
- module Appcask
1
+ module AppCask
2
2
  VERSION: String
3
3
  # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appcask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Billow Wang