1
0

Add version to __init__.py

I might be incredibly stupid, if there's any better way to do this because I'm currently referencing it twice which is like.. potentially decoupling.. let me know please ;-;
This commit is contained in:
2025-08-19 02:54:25 -04:00
parent d66585b87b
commit eb98e8a37e

View File

@@ -5,7 +5,8 @@ import logging
import sys
import json
VERSION = "0.0.1"
__version__ = "1.0.0"
# Load configuration
ROBLOSECURITY = getattr(config, 'roblosecurity', None)
DST_DIR = getattr(config, 'dst_dir', './AppSettings')
@@ -29,6 +30,8 @@ log.setLevel(LOG_LEVEL)
log.addHandler(stdout_handler)
log.addHandler(logfile_handler)
log.info(f"AppSettings-archiver version {__version__} started")
if ROBLOSECURITY is None:
log.warning(f"{"#"*6} ROBLOSECURITY IS NOT SET, SOME FFLAGS MAY BE MISSING {"#"*6}")