camo icon

This commit is contained in:
tresabhi committed 2026-08-04 19:49:53 -05:00
1 parent 996c9c05df
commit 129a2c52f9
3 files changed
+9 -15

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ export abstract class AbstractVFS {
abstract has(path: string): Promise<boolean>;
abstract raw(path: string): Promise<Uint8Array>;
abstract raw(path: string): Promise<Uint8Array<ArrayBuffer>>;
async resolve(path: string) {
const normalized = normalize(path);
@@ -1,14 +0,0 @@
import { AssetUploader } from "../core/github/assetUploader";
import { vfs } from "./constants";
export async function camouflageIcons() {
console.log("Building camouflage icons...");
using uploader = new AssetUploader("camo icons");
const content = await vfs.file(
`Data/Gfx/UI/Hangar/IconCamouflage.packed.webp`,
);
await uploader.add({ content, path: "icons/camo.webp" });
await uploader.flush();
}
@@ -0,0 +1,8 @@
import { vfs } from "../../../core/blitzkit/vfs";
export { getStaticPaths } from "../_index";
export async function GET() {
const bytes = await vfs.file("Data/Gfx/UI/Hangar/IconCamouflage.packed.webp");
return new Response(bytes);
}