缩略图插件

This commit is contained in:
Yeomai committed 2026-09-20 21:22:03 +08:00
1 parent 065b6466f1
commit 96a0db09d8
9 files changed
+984 -59

No files matched your search

+3 -1
View File
@@ -6,7 +6,9 @@
const fs = require('fs');
const path = require('path');
const DEFAULTS = { enabled: false };
// mode: 'animated' = 有动画就出动态 WebP(没有动画回退静帧),'static' = 一律 setup pose 静帧。
// strategy: 'size' = 十档全生成取体积最小的(慢、最省体积),'speed' = 只生成粗估最小的那几档。
const DEFAULTS = { enabled: false, mode: 'animated', strategy: 'size' };
/** 存放在 Eagle 的 userData 目录,不写进素材库,卸载时可直接删掉。 */
async function resolveFile() {