10 Star 83 Fork 111

OpenHarmony/developtools_hapsigner

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Instructions

Autosign help you to sign app more efficiently

Dependency

This signature script depends on Python 3.x.

Configuration

Use your favorite text editor to open autosign.config to configure everything. Below config must be replaced:

  • config.signtool
  • All password

1. For Windows

  1. Run the create_root.bat file in the terminal to generate root certs.
  2. Prepare your unsigned app and provision profile. Make sure correct config file location.
  3. Run the create_appcert_sign_profile.bat file in the terminal to generate app certs.
  4. Run the sign_hap.bat file in the terminal to start signing.
  5. The generated artifacts will be saved in the folder you set in config.targetDir as default.

2. For Linux or MacOS

  1. Add executable permission into create_root.sh, create_appcert_sign_profile.sh and sign_hap.sh.

    chmod a+x create_root.sh
    
    chmod a+x create_appcert_sign_profile.sh
    
    chmod a+x sign_hap.sh
    
    
  2. Run the create_root.sh file in the terminal to generate root certs.

    ./create_root.sh
    
  3. Prepare your unsigned app and provision profile. Make sure correct config file location.

  4. Run the create_appcert_sign_profile.sh file in the terminal to generate app certs.

    ./create_appcert_sign_profile.sh
    
  5. Run the sign_hap.sh file in the terminal to start signing.

    ./sign_hap.sh
    
  6. The generated artifacts will be saved in the folder you set in config.targetDir as default.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/developtools_hapsigner.git
git@gitee.com:openharmony/developtools_hapsigner.git
openharmony
developtools_hapsigner
developtools_hapsigner
master

搜索帮助