diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-09-21 23:47:55 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-09-21 23:47:55 -0500 |
| commit | 66169787c0f184c1e7e564ab89db55d5b24e96c7 (patch) | |
| tree | b6d388b03cefd37d1593c1fc814a4628b8fece50 /mkconfig.py | |
| parent | 2d2c2107adfa12cb22fe189cb51758139a919c4d (diff) | |
| download | userscripts-66169787c0f184c1e7e564ab89db55d5b24e96c7.tar.xz userscripts-66169787c0f184c1e7e564ab89db55d5b24e96c7.zip | |
gen readme from mkreadme.sh. mv settings and readme to template. make mkconfig.py executable
Diffstat (limited to 'mkconfig.py')
| -rwxr-xr-x[-rw-r--r--] | mkconfig.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mkconfig.py b/mkconfig.py index ad04413..e81d0b9 100644..100755 --- a/mkconfig.py +++ b/mkconfig.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import json import os import glob @@ -5,8 +7,8 @@ import zipfile # handle settings settings = {} -if os.path.isfile("settings.json"): - with open("settings.json", 'r') as f: +if os.path.isfile("template/settings.json"): + with open("template/settings.json", 'r') as f: settings = json.load(f) # get all userscripts |
