mirror of
https://github.com/infrost/RaptorQR.git
synced 2026-08-31 23:17:57 +08:00
c4d591efc3
新增 [manifest.webmanifest (line 1)](D:/Code/QRloop/apps/web/public/manifest.webmanifest:1) 和 app icon,并在 [index.html (line 9)](D:/Code/QRloop/apps/web/index.html:9) 接入。 新增启动屏 [boot_screen.tsx (line 1)](D:/Code/QRloop/apps/web/src/pwa/boot_screen.tsx:1),首次进入会显示进度条,等必要 runtime/wasm/worker assets 预缓存完成后才 reveal app。 新增 [preload.ts (line 1)](D:/Code/QRloop/apps/web/src/pwa/preload.ts:1),预缓存 fast_qr、RaptorQ、ZXing reader/writer wasm,以及 encode/decode/render/GIF workers。 Sender 默认从 file 开始,并把 File 放到 Text 前面:[sender.tsx (line 251)](D:/Code/QRloop/apps/web/src/app/routes/sender.tsx:251)。 为避免 web app 直接偷用 core 的 transitive dependency,我把 ZXing wasm URL 包成了 core 侧公开入口: