Compare commits
2 Commits
968feef80a
...
d66585b87b
| Author | SHA1 | Date | |
|---|---|---|---|
| d66585b87b | |||
| 8febbba940 |
16
__init__.py
16
__init__.py
@@ -7,20 +7,12 @@ import json
|
|||||||
|
|
||||||
VERSION = "0.0.1"
|
VERSION = "0.0.1"
|
||||||
# Load configuration
|
# Load configuration
|
||||||
ROBLOSECURITY = config.roblosecurity or None
|
ROBLOSECURITY = getattr(config, 'roblosecurity', None)
|
||||||
DST_DIR = config.dst_dir or './AppSettings'
|
DST_DIR = getattr(config, 'dst_dir', './AppSettings')
|
||||||
LOG_LEVEL = config.log_level or 'INFO'
|
LOG_LEVEL = getattr(config, 'log_level', 'INFO')
|
||||||
|
|
||||||
# Collect AppSettings endpoints
|
# Collect AppSettings endpoints
|
||||||
AppSettings = {
|
AppSettings = getattr(config, 'CustomTrackedAppSettings', {"PCDesktopClient": "https://clientsettingscdn.roblox.com/v2/settings/application/PCDesktopClient", "MacDesktopClient": "https://clientsettingscdn.roblox.com/v2/settings/application/MacDesktopClient"})
|
||||||
"PCStudioApp": "https://clientsettingscdn.roblox.com/v2/settings/application/PCStudioApp",
|
|
||||||
"PCDesktopClient": "https://clientsettingscdn.roblox.com/v2/settings/application/PCDesktopClient",
|
|
||||||
"MacDesktopClient": "https://clientsettingscdn.roblox.com/v2/settings/application/MacDesktopClient",
|
|
||||||
"MacStudioClient": "https://clientsettingscdn.roblox.com/v2/settings/application/MacStudioApp",
|
|
||||||
"UWPApp": "https://clientsettingscdn.roblox.com/v2/settings/application/UWPApp",
|
|
||||||
"XboxClient": "https://clientsettingscdn.roblox.com/v2/settings/application/XboxClient",
|
|
||||||
"AndroidApp": "https://clientsettingscdn.roblox.com/v2/settings/application/AndroidApp",
|
|
||||||
}
|
|
||||||
|
|
||||||
# Prepare logs
|
# Prepare logs
|
||||||
if not os.path.exists("logs"):
|
if not os.path.exists("logs"):
|
||||||
|
|||||||
@@ -6,3 +6,5 @@ dst_dir = "./AppSettings"
|
|||||||
|
|
||||||
# Log levels
|
# Log levels
|
||||||
log_level = "INFO"
|
log_level = "INFO"
|
||||||
|
|
||||||
|
CustomTrackedAppSettings = None
|
||||||
Reference in New Issue
Block a user