2024-01-25 12:45:13 -06:00
|
|
|
import { readDVPLFile } from '../../src/core/blitz/readDVPLFile';
|
2024-09-07 21:45:00 -05:00
|
|
|
import { commitAssets } from '../core/github/commitAssets';
|
|
|
|
|
import { FileChange } from '../core/github/commitMultipleFiles';
|
2024-08-14 14:04:06 -05:00
|
|
|
import { DATA } from './constants';
|
2024-01-25 12:45:13 -06:00
|
|
|
|
2024-08-27 14:40:43 -05:00
|
|
|
export async function camouflageIcons() {
|
2024-01-25 12:45:13 -06:00
|
|
|
console.log('Building camouflage icons...');
|
|
|
|
|
const content = await readDVPLFile(
|
2025-01-14 19:22:41 -06:00
|
|
|
`${DATA}/Gfx/UI/Hangar/IconCamouflage.packed.webp`,
|
2024-10-21 18:32:52 -05:00
|
|
|
);
|
2024-01-25 12:45:13 -06:00
|
|
|
const changes: FileChange[] = [
|
|
|
|
|
{
|
|
|
|
|
content,
|
|
|
|
|
path: 'icons/camo.webp',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
2024-08-27 14:40:43 -05:00
|
|
|
await commitAssets('camo icons', changes);
|
2024-01-25 12:45:13 -06:00
|
|
|
}
|