Plugin layout guide

From TrillWiki

Jump to: navigation, search

Contents

[edit] How you should submit your plugin file(s)

This guide shows what you would upload to our plugin submission page depending on what files are included with your plugin.

[edit] A plugin that only needs one file

You would upload a file such as:

plugin.dll

End result would be the following on the user's drive after install:

%trillian_install%\plugins\plugin.dll

So uploading just a .dll file to us will result in an installer that places just that one .dll file on the user's hard drive in Trillian's appropriate plugin directory.

[edit] A plugin that needs more than one file to operate should be in its own directory

For a sample zip upload containing:

plugin_abc.dll
myfile_i_need.ocx
someothercrap.txt

The end result would be:

%trillian_install%\plugins\plugin_abc\plugin_abc.dll
%trillian_install%\plugins\plugin_abc\myfile_i_need.ocx
%trillian_install%\plugins\plugin_abc\someothercrap.txt

There is no need to make your own directory; just place all of your files in the root of the zip and we'll make the directory for you. However, any directories you do include will make their way into the installer and, ultimately, be created on the user's hard drive.

For a sample zip upload containing:

myplugin\plugin_abc.dll
myplugin\myfile_i_need.ocx
myplugin\someothercrap.txt

end result would be:

%trillian_install%\plugins\myplugin\plugin_abc.dll
%trillian_install%\plugins\myplugin\myfile_i_need.ocx
%trillian_install%\plugins\myplugin\someothercrap.txt

[edit] A plugin that only needs one file, but includes a language file(s)

For a sample zip upload containing:

plugins\plugin.dll
languages\en\plugin.xml
languages\en\plugin.dll

end results would be:

%trillian_install%\langauges\en\plugin.xml
%trillian_install%\langauges\en\plugin.dll
%trillian_install%\plugins\plugin.dll

[edit] A plugin that needs more than one file and also includes a language file(s)

For a sample zip upload containing:

plugins\myplugin\plugin.dll
plugins\myplugin\myfile_i_need.ocx
plugins\myplugin\someothercrap.txt
languages\en\plugin.xml
languages\en\plugin.dll

end result:

%trillian_install%\langauges\en\plugin.xml
%trillian_install%\langauges\en\plugin.dll
%trillian_install%\plugins\myplugin\plugin.dll
%trillian_install%\plugins\myplugin\myfile_i_need.ocx
%trillian_install%\plugins\myplugin\someothercrap.txt
Personal tools