-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e883dfb
commit 12ef6dd
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
import appdirs | ||
from pathlib import Path | ||
|
||
# This file is used to define general configurations for the app | ||
|
||
SERVICE_NAME = "autopilot-manager" | ||
SERVICE_NAME = "ardupilot-manager" | ||
|
||
# Paths | ||
|
||
SETTINGS_PATH = Path(appdirs.user_config_dir(SERVICE_NAME)) | ||
|
||
LOG_FOLDER = Path.joinpath(SETTINGS_PATH, "logs") | ||
FIRMWARE_FOLDER = Path.joinpath(SETTINGS_PATH, "firmware") | ||
USER_FIRMWARE_FOLDER = Path("/usr/blueos/userdata/firmware") | ||
|
||
APP_FOLDERS = [SETTINGS_PATH, FIRMWARE_FOLDER, LOG_FOLDER, USER_FIRMWARE_FOLDER] | ||
|
||
blueos_files_folder = Path.joinpath(Path.home(), "blueos-files") | ||
defaults_folder = Path.joinpath(blueos_files_folder, "ardupilot-manager/default") | ||
|
||
__all__ = ["SERVICE_NAME"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters