As to add your own.
My modinfo.lua only has:
Code: Select all
depend = {
"cursors.sdz",
}
Putting empty .lua with the same names works but seems a bit silly.
spring-94.1.1-956-gc7ec3d3 in case that matters.
Moderator: Moderators
Code: Select all
depend = {
"cursors.sdz",
}
Code: Select all
if addon.InGetInfo then
return {
name = "DefaultAddonBlocker";
desc = "";
author = "jK";
date = "2013";
license = "GNU GPL, v2 or later";
layer = math.huge;
hidden = true; -- don't show in the widget selector
api = true; -- load before all others?
before = {"all"}; -- make it loaded before ALL other widgets (-> it must be the first widget that gets loaded!)
enabled = true; -- loaded by default?
}
end
local blockedDefaultAddons = {
LoadTexture = true,
}
function addon.BlockAddon(name, knownInfo)
return blockedDefaultAddons[name]
end