feat: use buffers

This commit is contained in:
TrèsAbhi committed 2024-10-21 18:32:52 -05:00
1 parent c8bb1f190a
commit c98c19dc36
26 files changed
+134 -269

No files matched your search

@@ -80,15 +80,13 @@ export async function tankIcons() {
if (big) {
changes.push({
content: big.toString('base64'),
encoding: 'base64',
content: big,
path: `icons/tanks/big/${id}.webp`,
});
}
if (small) {
changes.push({
content: small.toString('base64'),
encoding: 'base64',
content: small,
path: `icons/tanks/small/${id}.webp`,
});
}