feat(expand): P0-P3 素材扩库批次(发现器 + Google Fonts + Poly Haven + Noto Emoji 3D)
- P0: scripts/discover-sources.js 四通道候选发现,产出 candidates.json / registry.json - P1: build-posters 新增 fontsource 适配器,接入 Google Fonts 2766 个 woff2 - P2: 新增 polyhaven 适配器,接入 Poly Haven CC0 纹理 238 张 - P3: build-icons 新增 gh-raster listPath(Git Tree 逐级下钻),接入 Noto Emoji 3D 3797 个 PNG - 修复: GitHub Contents API 不支持目录分页导致重复/截断,改为 Git Tree 下钻并按路径去重;audit-files.json 同步重建 - 判定 noto-emoji-2d / twemoji-png 与既有 Iconify 源同图重复,不予收录 - 基线: 图标 264 源/448,551;海报 69 源/5,366;版本联动 20261108a
This commit is contained in:
+5
-5
@@ -117,8 +117,8 @@
|
||||
</div>
|
||||
|
||||
<script src="js/core/dicebear.js?v=20260822e"></script>
|
||||
<script src="js/data/builtin-icons.js?v=20261105d"></script>
|
||||
<script src="js/data/poster-builtin.js?v=20261105f"></script>
|
||||
<script src="js/data/builtin-icons.js?v=20261108a"></script>
|
||||
<script src="js/data/poster-builtin.js?v=20261108a"></script>
|
||||
<script>
|
||||
(function () {
|
||||
'use strict';
|
||||
@@ -170,13 +170,13 @@
|
||||
|
||||
/* ============ Manifest 加载 ============ */
|
||||
function loadIconManifest() {
|
||||
return fetch('js/data/manifest/icons.json?v=20260823g')
|
||||
return fetch('js/data/manifest/icons.json?v=20261108a')
|
||||
.then(function (r) { return r.json(); })
|
||||
.then(function (m) { ICON_SRC = m.sources || []; })
|
||||
.catch(function () { ICON_SRC = window.HGB_IconSources || []; });
|
||||
}
|
||||
function loadPosterManifest() {
|
||||
return fetch('js/data/manifest/posters.json?v=20261105f')
|
||||
return fetch('js/data/manifest/posters.json?v=20261108a')
|
||||
.then(function (r) { return r.json(); })
|
||||
.then(function (m) { POSTER_SRC = m.sources || []; })
|
||||
.catch(function () { POSTER_SRC = window.HGB_PosterSources || []; });
|
||||
@@ -191,7 +191,7 @@
|
||||
}
|
||||
function loadPosterData(id) {
|
||||
if (loadedCache['p_' + id]) return loadedCache['p_' + id];
|
||||
loadedCache['p_' + id] = loadScript('js/data/posters/' + id + '.js?v=20261105f')
|
||||
loadedCache['p_' + id] = loadScript('js/data/posters/' + id + '.js?v=20261108a')
|
||||
.then(function () { return window['HGB_PosterSource_' + id] || null; });
|
||||
return loadedCache['p_' + id];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user