Compare commits
3 Commits
d66585b87b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| f226b34fb3 | |||
| 630e73dbad | |||
| eb98e8a37e |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,7 +2,6 @@
|
|||||||
config.py
|
config.py
|
||||||
|
|
||||||
# Ignore Poetry garbage
|
# Ignore Poetry garbage
|
||||||
poetry.lock
|
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
# IDIOT! IDIOT IDIOT IDIOT!
|
# IDIOT! IDIOT IDIOT IDIOT!
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
I was asked to make an AppSettings archiver, so this should work as a rough attempt ... for now.
|
I was asked to make an AppSettings archiver, so this should work as a rough attempt ... for now.
|
||||||
|
|
||||||
# How to install
|
# How to install
|
||||||
Copy `config.example.py` to `config.py`. Configure your destination directory, and your ROBLOSECURITY cookie if you wish to provide one. I would recommend using an alternate Roblox account, mostly out of precaution. Your ROBLOSECURITY is not transmitted to any third party with this script, only Roblox will see your ROBLOSECURITY.
|
Copy `config.example.py` to `config.py`. Configure your destination directory, and your ROBLOSECURITY cookie if you wish to provide one. I would recommend using an alternate Roblox account, mostly out of precaution. Your ROBLOSECURITY is not transmitted to any third party with this script, only Roblox will see your ROBLOSECURITY. Some additional configuration options if you want to configure them are for overwriting the AppSettings list with your own (it could really just be anything with JSON), and a log level if you want to make things a little noisier.
|
||||||
|
|
||||||
This project uses [Poetry](https://python-poetry.org/), which has very clear documentation on how to install it:
|
This project uses [Poetry](https://python-poetry.org/), which has very clear documentation on how to install it:
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ import logging
|
|||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
|
||||||
VERSION = "0.0.1"
|
__version__ = "1.0.0"
|
||||||
|
|
||||||
# Load configuration
|
# Load configuration
|
||||||
ROBLOSECURITY = getattr(config, 'roblosecurity', None)
|
ROBLOSECURITY = getattr(config, 'roblosecurity', None)
|
||||||
DST_DIR = getattr(config, 'dst_dir', './AppSettings')
|
DST_DIR = getattr(config, 'dst_dir', './AppSettings')
|
||||||
@@ -29,6 +30,8 @@ log.setLevel(LOG_LEVEL)
|
|||||||
log.addHandler(stdout_handler)
|
log.addHandler(stdout_handler)
|
||||||
log.addHandler(logfile_handler)
|
log.addHandler(logfile_handler)
|
||||||
|
|
||||||
|
log.info(f"AppSettings-archiver version {__version__} started")
|
||||||
|
|
||||||
if ROBLOSECURITY is None:
|
if ROBLOSECURITY is None:
|
||||||
log.warning(f"{"#"*6} ROBLOSECURITY IS NOT SET, SOME FFLAGS MAY BE MISSING {"#"*6}")
|
log.warning(f"{"#"*6} ROBLOSECURITY IS NOT SET, SOME FFLAGS MAY BE MISSING {"#"*6}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user