From 4e3cfaf2efefdac2fa947f17b61bb380a3ed8bc3 Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 27 Nov 2022 18:46:43 +0000 Subject: update sample config --- conf.lua | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'conf.lua') 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 -- cgit v1.2.3-70-g09d2