Door Games Unlimited

Welcome, Guest.


Subject: Adding supported_formats to Archive Date: Sat Oct 03 2026 03:50:27
From: nelgin To: Digital Man

I'm wanting to add .gz files as supported types for Archive.

I added gz as a supported type in scfg > File Options

$ jsexec -n -r 'Archive.supported_formats.forEach(function(f){ print(f); })'
zip
7z
tgz
gz


but I get the following:

bbs@bbs:/sbbs/mods$ jsexec -n archive read /var/log/sbbs/web.sbbs.log.1.gz
!JavaScript  /sbbs/exec/archive.js line 49: Error: archive_read_open_filename() 
returned -30: Unrecognized archive format
!Module (archive) set exit_code: 1

I've obviously missed a step but I'm not sure what. Open to suggestions?

Thanks,

---
 ■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com

No More Messages       Next Message
Replies: Adding supported_formats to Archive (deon)Adding supported_formats to Archive (Digital Man)