ipa2deb

2021-08-20  本文已影响0人  魔童转世

第三步,新建三个文件夹
结构大概是
|-{标识符}
|–Applications
|–DEBIAN

将解压出来的xxx.app放入 Applications 中
将control postinst (无后缀的纯文本)文件放 DEBIAN 中

Control写法

Package: 标示符 例如 cn.jackyu.wechat2
Name:  //deb的名字,可以是中文
Version:          //这里写程序的版本
Architecture: iphoneos-arm
Description:  //描述
Maintainer: //维护人
Author: //作者

postinst写法(直接复制)(权限755)

#!/bin/bash
mkdir -p /private/var/mobile/Documents/
chown -R mobile:mobile /private/var/mobile/Documents/
/bin/su -c uicache mobile

最后,打包
打开终端

cd Desktop
dpkg-deb -Z xz -b ./{标识符}.
上一篇 下一篇

猜你喜欢

热点阅读