aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconf.lua23
1 files changed, 15 insertions, 8 deletions
diff --git a/conf.lua b/conf.lua
index 51d8e7b..fcdda39 100755
--- a/conf.lua
+++ b/conf.lua
@@ -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