0x192 / 0x192/universal-android-debloater
Could you please add import and export so that I don't need to write code below
未關閉
enhancement
- 主要語言
- Rust
- 星號
- 19.9k
- 分支
- 1.1k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
```python
import os
import json
path_to_json = "C:\\tools\\mytool\\phone\\bloat.json"
with open(path_to_json, encoding="utf-8") as json_file:
data = json.load(json_file)
for item in data:
if item["removal"] == "Recommended":
print("adb shell pm uninstall --user 0 " + item["id"])
# print(data)
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
該 issue 要求導入/導出功能以避免手動編寫腳本。使用者提供了一個 Python 腳本,用於讀取 JSON 檔案並輸出 ADB 卸載指令。查看 Rust GUI 目前如何處理套件清單和指令。入口點可能位於生成 debloat 腳本的主應用程式邏輯中。'Done' 意味著 GUI 可以導入類似 bloat.json 的 JSON 檔案並導出腳本或指令清單,與現有的 ADB 指令生成功能整合。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python, rust
- 領域
- cli, tooling
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100