diff options
-rwxr-xr-x | conf.lua | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -1,21 +1,28 @@ --- untested, may or may not work - -local function ignore() +local function macro_ignore() return script_namespace == "garret.restyler" end +local function module_ignore() +end + local conf = { name = "garret's aegisub scripts", description = "Little utilities for aegisub that make my life easier", maintainer = "garret", knownFeeds = {}, url = "https://github.com/garret1317/aegisub-scripts/", - baseUrl = "https://github.com/garret1317/aegisub-scripts/", - fileBaseUrl = "https://raw.githubusercontent.com/garret1317/aegisub-scripts/@{channel}/@{namespace}", - scriptUrl = "@{baseUrl}", + baseUrl = "https://raw.githubusercontent.com/garret1317/aegisub-scripts/master", + scriptUrl = "@{baseUrl}#@{namespace}", + macros = { + fileBaseUrl = "@{baseUrl}/macros/@{namespace}", + ignoreCondition = macro_ignore, + }, + modules = { + fileBaseUrl = "@{baseUrl}/modules/@{namespacePath}", + ignoreCondition = module_ignore, + }, fileUrl = "@{fileBaseUrl}@{fileName}", - ignoreCondition = ignore, - channel = "release" + channel = "master" } return conf |