mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-28 05:23:46 +08:00
1d5d279e4a
- Add Quick Start switch in Advanced -> Device - On enable, create 'prebuilt' file in openpilot root - On disable, delete 'prebuilt' file - Add Chinese translation: 快速启动
15 lines
385 B
Python
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",
|
|
},
|
|
]
|