SilverFruity / OCRunner

Execute Objective-C code as script. AST Interpreter. iOS hotfix SDK.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

求助!求助!怎么设置在指定app版本下下热修复生效呢?没看到怎么设置的地方

LWB-Study opened this issue · comments

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

image
相关的参数设置主要在 PatchGenerator 中,你可以 PatchGenerator --help 查看该提示信息

感谢!!! 但是执行 PatchGenerator --help 出现下面内容,但是没看到具体的描述
image

image
额,应该是 -h 或者 -help

确实看到了,但好像也没有看到具体能在哪修改这个app版本号
image

从命令行参数输入啊,随后会保存到 binarypatch 中

image 大概明白了,还有一点就是这个-refs指的啥啊,比如我要修的是xxx.m文件,这个-refs指的是xxx.h吗?
image 这个-osVersion 在ORPatchFile 1.1.0版本下不支持,这个ORPatchFile是不是需要升级啊,这个升级具体有什么命令吗

-refs 的具体介绍可以看 README.md 的信息。-osVersion 就不要使用了,已经被用来保存 OCRunner 的补丁格式版本了

感谢感谢!!! -refs研究明白了,一般用Scripts.bundle 这个,-osVersion那就先不用了。也成功用命令行生成了patch文件