mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 01:43:51 +08:00
version: dragonpilot v2022.09.07 release for EON/C2
date: 2022-09-07T07:01:54
dp-dev(priv2) beta2 commit: 30a852791f
12 lines
261 B
Python
12 lines
261 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
from system.hardware import PC
|
|
|
|
BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../"))
|
|
|
|
if PC:
|
|
PERSIST = os.path.join(str(Path.home()), ".comma", "persist")
|
|
else:
|
|
PERSIST = "/persist"
|