1 parent 31129e5 commit c3e6ebdCopy full SHA for c3e6ebd
1 file changed
script_library/scripts/basic/script_mnfrb0ax.py
@@ -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