fix(aiui): expose host wallpaper and package fresh production builds

This commit is contained in:
archipelago
2026-09-28 12:32:18 -04:00
parent 3f0c1038c3
commit b14fe78306
5 changed files with 28 additions and 25 deletions
+1
View File
@@ -33,6 +33,7 @@ const PWA_CACHE_VERSION = '2'
// Only embedded when explicitly requested via ?embedded param
const _embeddedFlag = new URLSearchParams(window.location.search).has('embedded')
;(window as unknown as Record<string, unknown>).__AIUI_EMBEDDED__ = _embeddedFlag
document.documentElement.classList.toggle('aiui-embedded', _embeddedFlag)
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),