Skip to content

Commit

Permalink
Create 手动卸载越狱插件.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
chudongjingling authored Jun 3, 2020
1 parent 213abda commit 1272a78
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions 手动卸载越狱插件.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
::getInfo::
bid = dialogInput("从 Cydia 已安装中复制应用 ID 到下方", "com.weiphone.xx", "立即卸载")
if bid ~= "" then
mSleep(1000)
toast("开始卸载……")
os.execute("dpkg -P "..bid)
mSleep(3000)
toast("卸载完成~重启设备~…")
mSleep(5000)
os.execute("reboot")
else
dialog("请填写应用 ID!", 5);
goto getInfo
end

0 comments on commit 1272a78

Please sign in to comment.