Magic tools (and tp-magic-config) supports local (user) plugins.

Added copyright & credit info to new Magic tool plugin .c files.
Updated Magic plugin doc API.
This commit is contained in:
William Kendrick 2007-08-08 06:56:04 +00:00
parent cf10090cc1
commit 0d6c2cf1b9
30 changed files with 1146 additions and 350 deletions

View file

@ -50,10 +50,18 @@ if [ $# -ne 0 ]; then
echo "__DATAPREFIX__"
exit
fi
if [ $1 = "--localdataprefix" ]; then
echo "$HOME/.tuxpaint/plugins/data"
exit
fi
if [ $1 = "--pluginprefix" ]; then
echo "__PLUGINPREFIX__"
exit
fi
if [ $1 = "--localpluginprefix" ]; then
echo "$HOME/.tuxpaint/plugins"
exit
fi
if [ $1 = "--plugindocprefix" ]; then
echo "__PLUGINDOCPREFIX__"
exit