Google Play Store
Google Play Store 自动化 — 启动、搜索、详情、安装/卸载/更新、应用管理
Overview
| Name | |
|---|---|
| ID | googleplay |
| Name | Google Play Store |
| Platform | android |
| Category | tools |
| Package | com.android.vending |
| Requires | googleservices |
| Commands | 10 |
| Source | View on GitHub |
Install
bash
pb skills install googleplayCommands
pb googleplay close
强制停止 Google Play Store
pb googleplay detail
直接打开指定 App 的 Google Play 详情页(market://details deeplink)
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--package | string | ✓ | — | App 包名,例如 com.zhiliaoapp.musically |
Example
bash
pb googleplay detail --package <package>pb googleplay install
通过 Play Store 安装一个 App:打开详情页 → 点 Install → 等待完成(需要登录)
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--package | string | ✓ | — | 目标 App 包名 |
--wait | int | 60 | 最长等待多少秒直到安装完成(出现 Open 按钮或系统能解析出该包) |
Example
bash
pb googleplay install --package <package>pb googleplay my_apps
打开 Play Store 的「管理应用和设备」主页
pb googleplay open
启动 Google Play Store(纯启动)
pb googleplay search
用 market://search deeplink 在 Play Store 里搜索 App
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--keyword | string | ✓ | — | 搜索关键词 |
Example
bash
pb googleplay search --keyword <keyword>pb googleplay state
查询 Play Store 当前页面状态(不启动,只 dump + 解析)
pb googleplay uninstall
通过 Play Store 卸载一个 App:打开详情页 → 点 Uninstall → 确认
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--package | string | ✓ | — | 目标 App 包名 |
--wait | int | 30 | 最长等待多少秒直到系统识别该包已卸载 |
Example
bash
pb googleplay uninstall --package <package>pb googleplay update
更新指定 App:打开详情页,如果有 Update 按钮就点,否则返回 up_to_date: true
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--package | string | ✓ | — | 目标 App 包名 |
--wait | int | 90 | 最长等待多少秒直到更新完成 |
Example
bash
pb googleplay update --package <package>pb googleplay updates
打开「管理应用和设备 → 可用更新」页,启发式抽出待更新 App 名