mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-26 09:48:41 -05:00
0241d1856a
- Added Resource Manager - Migrated most exts to it - Added config entry for the resources URL - Added my ID to template - Bumped copyright on edited files Fixes #246
19 lines
410 B
Python
19 lines
410 B
Python
from pathlib import Path
|
|
from utils.resources_manager import ResourcesManager
|
|
|
|
|
|
path = Path("./data/resources")
|
|
url = "https://qrmresources.miaow.io/resources/"
|
|
versions = {
|
|
"bandcharts": "v1",
|
|
"img": "v1",
|
|
"maps": "v1",
|
|
"morse": "v1",
|
|
"phonetics": "v1",
|
|
"qcodes": "v1",
|
|
"funetics": "v1"
|
|
}
|
|
|
|
rm = ResourcesManager(path, url, versions)
|
|
print(rm.index)
|