Files
openpilot/dragonpilot/settings/min-feat.dev.quick-start.py
mawei 1d5d279e4a feat: add Quick Start toggle with中文翻译
- Add Quick Start switch in Advanced -> Device
- On enable, create 'prebuilt' file in openpilot root
- On disable, delete 'prebuilt' file
- Add Chinese translation: 快速启动
2026-06-29 16:27:41 +08:00

15 lines
385 B
Python

from dragonpilot.settings import tr
ITEMS = [
{
"section": "Device",
"key": "dp_dev_quick_start",
"type": "toggle_item",
"title": lambda: tr("Quick Start"),
"description": lambda: tr("Skips Git operations on startup by creating a prebuilt marker file in the openpilot directory."),
"flags": "PERSISTENT",
"param_type": "BOOL",
"default": "0",
},
]