TickIT doesn't use the Archive class
I try to setup a nodelist handler for amiganet, these come in lha format I have added the archiver and it works ok with the files from the library
I test on tickit.cfg with both nodelist_handler and file_handler with same results:
[AMYLIST]
Dir=amn_amylist
SourceAddress=39:943/1@amiganet
ForceReplace=true
Handler=tickit/nodelist_handler.js
HandlerArg={"domain":"amiganet", "match":"AmyList.l*", "nlmatch":"AmyList.*"}
;Handler = tickit/file_handler.js
;HandlerArg = { "match": "AmyList.l*", "files": [{ "source": "Amylist.*", "destination": "/sbbs/fido/NODELIST.AMIGANET" }]}
it seems that the part of code that tries to detect the archiver is not working for this case
Object.keys(ctx.sbbsecho.packer).forEach(function(key) {
var i;
var sig = '';
f.position = ctx.sbbsecho.packer[key].offset;
for (i=0; i<ctx.sbbsecho.packer[key].sig.length; i+=2) {
sig += format("%02X", f.readBin(1));
if (f.eof)
break;
}
if (sig === ctx.sbbsecho.packer[key].sig)
unpack = ctx.sbbsecho.packer[key].unpack;
});
f.close();
if (unpack == undefined) {
log(LOG_DEBUG, "Unable to identify packer for '"+tic.file+"'");
return false;
}
I attach a AmyList.l48 nodelist example that came from my boss.