Update processor support, xbs support and inclusions.conf support.

This commit is contained in:
abbie 2021-11-17 08:09:57 +00:00
parent 3caf6c0fe5
commit 3eb2afed6a
No known key found for this signature in database
GPG key ID: 04DDE463F9200F87
3 changed files with 32 additions and 4 deletions

4
.gitignore vendored
View file

@ -1,3 +1,7 @@
/sites
build.xbs
xbs.rb
/output-gmi
/proc
/themes
/input

26
init.sh
View file

@ -31,4 +31,30 @@ echo $theme | tee -a input/site.conf
echo "All done!"
echo "If you haven't already read the docs at ewfm.colean.cc/docs"
echo "and run populate.sh to download all the ewfm themes!"
echo ".jpeg" | tee -a input/inclusions.conf
echo ".jpg" | tee -a input/inclusions.conf
echo ".gif" | tee -a input/inclusions.conf
echo ".png" | tee -a input/inclusions.conf
echo ".bmp" | tee -a input/inclusions.conf
echo ".webp" | tee -a input/inclusions.conf
echo ".webm" | tee -a input/inclusions.conf
echo ".txt" | tee -a input/inclusions.conf
echo ".rtf" | tee -a input/inclusions.conf
echo ".doc" | tee -a input/inclusions.conf
echo ".xls" | tee -a input/inclusions.conf
echo ".docx" | tee -a input/inclusions.conf
echo ".xlsx" | tee -a input/inclusions.conf
echo ".zip" | tee -a input/inclusions.conf
echo ".tar" | tee -a input/inclusions.conf
echo ".gz" | tee -a input/inclusions.conf
echo ".tgz" | tee -a input/inclusions.conf
echo ".txz" | tee -a input/inclusions.conf
echo ".lzma" | tee -a input/inclusions.conf
echo ".xz" | tee -a input/inclusions.conf
echo ".bz2" | tee -a input/inclusions.conf
echo ".bzip2" | tee -a input/inclusions.conf
echo ".tbz" | tee -a input/inclusions.conf
echo ".tbz2" | tee -a input/inclusions.conf
mkdir output

View file

@ -213,10 +213,8 @@ if(File.exist?('input/postproc.conf'))
list = IO.readlines("input/postproc.conf", chomp: true)
for proc in list
if(File.exist?('proc/' + proc +'/post.sh'))
for file in procfiles
runner = `proc/#{proc}/post.sh #{file}`
puts runner
end
runner = `proc/#{proc}/post.sh`
puts runner
else
puts proc +" does not support being used as a post-processor."
end