Code Monkey home page Code Monkey logo

buildapp's Introduction

说明

  • 一个支持 Flutter、ReactNative、原生 Android、iOS 的打包工具
  • iOS/Android上传到蒲公英
  • Android上传阿里云
  • iOS上传到TestFlight
  • 发送消息到钉钉
  • 自动读取版本号来重命名上传包的文件名
  • 这里查看运行效果图

安装

使用Python3编写,所以得自行安装相关环境
目前项目只在Mac上面跑过
安装依赖 pip3 install requests pip3 install oss2
或者通过 pipenv shell
我不是Python大神,如果有安装问题大家自行根据错误来解决吧。

配置*

打开src/config/config.py进行配置
最低配置是把蒲公英配置上,其它不配置的也行。
*Android需要配置keystore
*iOS需要配置导出plist文件(放到项目中即可,然后在 config.py中配置下文件名即可)
*以上两项为必须配置,网上都相关教程,自行配置

使用

克隆本项目到你的工程中(也可以是其它地方) 然后运行:
python3 ./buildapp/main.py // 自动从当前目录然or上级查找项目
python3 main.py 你的项目路径 // 或者指定目录路径
根据提示选择下面的打包方式
11. apk ➣ 蒲公英 ➣ 钉钉
12. apk ➣ 阿里云 ➣ 钉钉
21. ipa ➣ 蒲公英 ➣ 钉钉
22. ipa ➣ TestFlight ➣ 钉钉 基于大佬版本改:
11. apk ➣ 蒲公英 ➣ 钉钉 (xm xh)
12. 蒲公英失败再次上传 ➣ 钉钉 (xm xh)
13. apk ➣ 打开文件夹
21. ipa ➣ 蒲公英 ➣ 钉钉
22. ipa ➣ AppStore ➣ 钉钉
23. ipa ➣ 本地文件夹
24. ipa ➣ 本地路径 ➣ AppStore

相关文章

  1. 懒人plist在doc中(请自行修改teamId)
  2. 除了src/config/config.py需要配置的地方 其他需要更改的地方看图 我是图1 我是图二

buildapp's People

Contributors

jason1024po avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.