mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-22 15:23:37 +05:00
refactor: implement Mobileraker and OctoEverywhere as community extensions (#532)
* refactor: move mobileraker to extensions Signed-off-by: Dominik Willner <th33xitus@gmail.com> * refactor: move octoeverywhere to extensions Signed-off-by: Dominik Willner <th33xitus@gmail.com> --------- Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
29
kiauh/extensions/octoeverywhere/__init__.py
Normal file
29
kiauh/extensions/octoeverywhere/__init__.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# ======================================================================= #
|
||||
# Copyright (C) 2020 - 2024 Dominik Willner <th33xitus@gmail.com> #
|
||||
# #
|
||||
# This file is part of KIAUH - Klipper Installation And Update Helper #
|
||||
# https://github.com/dw-0/kiauh #
|
||||
# #
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license #
|
||||
# ======================================================================= #
|
||||
from pathlib import Path
|
||||
|
||||
# repo
|
||||
OE_REPO = "https://github.com/QuinnDamerell/OctoPrint-OctoEverywhere.git"
|
||||
|
||||
# directories
|
||||
OE_DIR = Path.home().joinpath("octoeverywhere")
|
||||
OE_ENV_DIR = Path.home().joinpath("octoeverywhere-env")
|
||||
OE_STORE_DIR = OE_DIR.joinpath("octoeverywhere-store")
|
||||
|
||||
# files
|
||||
OE_REQ_FILE = OE_DIR.joinpath("requirements.txt")
|
||||
OE_DEPS_JSON_FILE = OE_DIR.joinpath("moonraker-system-dependencies.json")
|
||||
OE_INSTALL_SCRIPT = OE_DIR.joinpath("install.sh")
|
||||
OE_UPDATE_SCRIPT = OE_DIR.joinpath("update.sh")
|
||||
OE_INSTALLER_LOG_FILE = Path.home().joinpath("octoeverywhere-installer.log")
|
||||
|
||||
# filenames
|
||||
OE_CFG_NAME = "octoeverywhere.conf"
|
||||
OE_LOG_NAME = "octoeverywhere.log"
|
||||
OE_SYS_CFG_NAME = "octoeverywhere-system.cfg"
|
||||
Reference in New Issue
Block a user