some small cleanups

This commit is contained in:
the-djmaze 2026-11-03 00:59:09 +01:00
parent c4f2033368
commit bf90b32b51
4 changed files with 13 additions and 4 deletions

View file

@ -150,6 +150,12 @@ foreach (glob(ROOT_DIR . '/plugins/*', GLOB_NOSORT | GLOB_ONLYDIR) as $dir) {
ksort($manifest_item);
$manifest[$name] = $manifest_item;
foreach (glob("{$dir}/*.min.js") as $file) {
unlink($file);
}
foreach (glob("{$dir}/js/*.min.js") as $file) {
unlink($file);
}
} else {
echo "- {$name} {$version}\n";
}