This commit is contained in:
6
main.py
6
main.py
@@ -28,7 +28,9 @@ class Autopkg:
|
||||
# Logging Setup
|
||||
setup_log()
|
||||
|
||||
logging.info("Running autopkg (c) 2025 phantom <phantom@shadeouts.net> https://shadeouts.net/")
|
||||
logging.info(
|
||||
"Running autopkg (c) 2025 phantom <phantom@shadeouts.net> https://shadeouts.net/"
|
||||
)
|
||||
|
||||
# Environment Setup
|
||||
target = os.getenv("APKG_TARGET")
|
||||
@@ -40,7 +42,7 @@ class Autopkg:
|
||||
case "test" | "debug":
|
||||
logging.warning("Running autopkg in testing mode!")
|
||||
|
||||
self.datafile = os.getenv("APKG_RUNTIME_DIR") + "/test/data.ini"
|
||||
self.datafile = os.getenv("APKG_RUNTIME_DIR") + "/dev/data.ini"
|
||||
|
||||
if os.path.exists(self.datafile): os.remove(self.datafile)
|
||||
case _:
|
||||
|
||||
Reference in New Issue
Block a user