{"id":18733147,"url":"https://github.com/bioforestchain/android-auto-distribute","last_synced_at":"2025-04-12T18:31:31.487Z","repository":{"id":251717282,"uuid":"814522314","full_name":"BioforestChain/android-auto-distribute","owner":"BioforestChain","description":"android自动分发脚本","archived":false,"fork":false,"pushed_at":"2025-03-04T06:36:52.000Z","size":1478,"stargazers_count":10,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T12:51:12.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BioforestChain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-13T07:14:08.000Z","updated_at":"2025-01-31T14:16:05.000Z","dependencies_parsed_at":"2024-08-05T09:47:17.980Z","dependency_job_id":"22ad13ac-0c34-49f5-9f6c-64a5d2d1fc2e","html_url":"https://github.com/BioforestChain/android-auto-distribute","commit_stats":null,"previous_names":["bioforestchain/android-auto-distribute"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioforestChain%2Fandroid-auto-distribute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioforestChain%2Fandroid-auto-distribute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioforestChain%2Fandroid-auto-distribute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioforestChain%2Fandroid-auto-distribute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BioforestChain","download_url":"https://codeload.github.com/BioforestChain/android-auto-distribute/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248613454,"owners_count":21133516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T15:08:52.126Z","updated_at":"2025-04-12T18:31:31.461Z","avatar_url":"https://github.com/BioforestChain.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# android-auto-distribute\n\nandroid 自动化更新脚本。支持：`华为`，`小米`，`oppo`,`vivo`,`三星`,`Google Play`。\n\n\u003e 魅族 不让上架浏览器，抽象。\n\n半自动化发布平台有： [阿里开发者](https://open.9game.cn/)，[360 手机助手](https://dev.360.cn/),[百度开发者](http://app.baidu.com),[腾讯应用宝](https://app.open.qq.com/p/home)。都是这些不是手机厂商的没有。\n\n半自动化发布需要用户输入手机验证码登陆，运行脚本的时候会打开浏览器。因此需要在配置中心配置 Google 浏览器地址\n\n\n\n## 启动可视化界面发布 🍟\n\n```bash\ndeno task start\n```\n\n\u003cdiv style=\"display: flex; justify-content: space-between; align-items: center;\"\u003e\n  \u003cimg src=\"./static/assets/images/setting.png\" alt=\"setting Preview\" width=\"400\" height=\"300\" /\u003e\n  \u003cimg src=\"./static/assets/images/publish.png\" alt=\"publish Preview\" width=\"400\" height=\"300\" /\u003e\n\u003c/div\u003e\n\n### 密钥配置\n\n您首选需要在密钥配置页面配置您各个平台的密钥，所以密钥都将存储在本地。\n\n## 各个平台证书相关\n\n各个平台接口加密方式各不相同，需要下载各个商场的证书(或公钥/私钥)放到项目根目录的 `private`文件夹内。\n结构大致如下：\n\n```bash\n.\n├── README.md\n├── private\n│   ├── samsung\n│   │   └── privateKey.txt\n│   ├── xiaomi\n│   │   └── dev.api.public.cer\n│   ├── google\n│   │   └── privateKey.json\n```\n\n\u003e 当然您也可以放到任何位置，只需要修改 `env.ts` 里的对应参数。\n\n### samsung key\n\n[samsung key 获取地址](https://developer.samsung.com/galaxy-store/galaxy-store-developer-api/create-an-access-token.html)，接着按照文档一步一步进行生成。\n\n### [google 服务账号密钥](https://developers.google.com/android-publisher/getting_started?hl=zh-cn#oauth)\n\n获取需要先创建对应的权限账号，然后再进行密钥导出，重命名为 `privateKey.json` 放到对应文件夹。\n\n![Generate google key](/static/assets/images/google-key.png)\n\n### 半自动化发布\n\n没有自动发布接口的平台需要用户输入手机验证码登陆。这时候会打开浏览器，并且帮助用户输入所有需要发布更新的信息。\n\n\u003e 在半自动化发布的时候，会让用户审核填充无问题后，手动点击提交审核，这个还是得人工看一遍比较有底。\n\n## 维护需求\n\n特别是半自动化发布脚本，厂商可能更新一下就得改，遇到问题可以提 issue，或者直接 pr。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbioforestchain%2Fandroid-auto-distribute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbioforestchain%2Fandroid-auto-distribute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbioforestchain%2Fandroid-auto-distribute/lists"}