forked from chudongjingling/open_code
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
213abda
commit 1272a78
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |