add Android build; remove bulk video compression as it's impractical

This commit is contained in:
polv committed 2026-06-27 19:52:00 +07:00
1 parent f2f6c28989
commit 40edfe44e9
43 files changed
+951 -157

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import fs from "node:fs/promises";
import { join as joinPath } from "node:path";
function isVideo(file) {
return /\.(mp4|mkv|mov|webm|avi|m4v)$/i.test(file);
}
async function removeAllVideos(dir) {
for (const entry of await fs.readdir(dir)) {
if (isVideo(entry)) {
await fs.unlink(joinPath(dir, entry));
}
}
}
await removeAllVideos("docs/.vitepress/dist");