mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: use buffers
This commit is contained in:
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`,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user