Giter Club home page Giter Club logo

autojs-replace-inrt's Introduction

Auto.js apk build

成品

APK demo 下载
demo 构建脚本

原理

  1. fork hyb1996/Auto.js 修改成 demoshang/Auto.js
  2. 利用 inrt 项目, 替换 assets 实现 apk 构建

使用

修改project.json符合以下说明

{
  // app 的名字
  "name": "xxx",
  // 包的名字, 符合android规定
  "packageName": "com.autojs.demo.xxx",
  // app 的 logo, 必须是 png 图片
  "logo": "xxx.png",
  // app 启动页面图片, 必须是 png 图片
  "splash": "xxx.png",
  // 入口文件必须是 main.js
  "main": "main.js",
  // 版本号
  "versionName": "0.1.0",
  // 版本号的数字表示
  "versionCode": 700,
  "ignore": []
}

构建

# npm 构建
npx @s4p/autojs-replace-inrt "Auto.js项目目录" "js代码目录"

# dev 构建
npm start -- "Auto.js项目目录" "js代码目录"

autojs-replace-inrt's People

Contributors

xinshangshangxin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

autojs-replace-inrt's Issues

版本疑问

作者你好,首先感谢你的付出~
是这样的我正想做个 PC 端打包工具,包括 4.x 7.x 8.x,
因为打包要传到模拟器上很麻烦,咱不考虑离线加密功能。
因而找到了本项目,想问下这个项目最高支持到 Auto.js 版本是多大?
如果我像实现全版本打包到话有什么思路呢~ 感谢

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.