如何创建 iOS 自启动脚本
1个回答
展开全部
作者:范冰
链接:http://www.zhihu.com/question/20261643/answer/15138732
来源:知乎
著作权归作者所有,转载请联系作者获得授权。
<?xml version="1.0" encoding="UTF-8"?>
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>acjy.goagent</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>python</string>
<string>/var/mobile/goagent-local/proxy.py</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>UserName</key>
<string>root</string>
<key>StandardErrorPath</key>
<string>/dev/null</string>
</dict>
</plist>
用记事本保存为扩展名:plist,移到/System/Library/LaunchDaemons/覆盖原来的文件就好。
链接:http://www.zhihu.com/question/20261643/answer/15138732
来源:知乎
著作权归作者所有,转载请联系作者获得授权。
<?xml version="1.0" encoding="UTF-8"?>
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>acjy.goagent</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>python</string>
<string>/var/mobile/goagent-local/proxy.py</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>UserName</key>
<string>root</string>
<key>StandardErrorPath</key>
<string>/dev/null</string>
</dict>
</plist>
用记事本保存为扩展名:plist,移到/System/Library/LaunchDaemons/覆盖原来的文件就好。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询