* Initialize libarchive.js with the correct worker URL.
()
| 109 | * Initialize libarchive.js with the correct worker URL. |
| 110 | */ |
| 111 | async function initializeArchive(): Promise<void> { |
| 112 | if (archiveInitialized) return; |
| 113 | |
| 114 | Archive.init({ |
| 115 | workerUrl: publicAsset('workers/worker-bundle.js'), |
| 116 | }); |
| 117 | |
| 118 | archiveInitialized = true; |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Process a ZIP archive: extract COLMAP files immediately, build index for images. |
no test coverage detected