feat(独立应用): OFDGo WebUI支持安装为独立应用,统一图标与窗口配色
build.yaml / build (push) Successful in 38s

This commit is contained in:
xiaoqidun committed 2026-09-08 22:23:44 +08:00
1 parent 8b123698e5
commit 367a9b98e9
5 files changed
+26 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
const CACHE_PREFIX = `ofdgo:${self.registration.scope}:app:`;
const META_CACHE = `${CACHE_PREFIX}meta`;
const ASSETS = ["./", "ofdgo.css", "ofdgo.js", "wasm_exec.js", "ofdgo.wasm", "ofdgo.sw.js"]
const ASSETS = ["./", "ofdgo.css", "ofdgo.js", "ofdgo.json", "ofdgo.svg", "ofdgo.sw.js", "ofdgo.wasm", "wasm_exec.js"]
.map((path) => new URL(path, self.registration.scope).href);
const CLIENT_PREFIX = new URL("__client/", self.registration.scope).href;