ai/at
1
0

fix web config

This commit is contained in:
2026-01-21 23:30:24 +09:00
parent 182442e354
commit e69a332829
4 changed files with 20 additions and 2 deletions

View File

@@ -100,6 +100,22 @@ function buildSite(site: SiteConfig, pages: ReturnType<typeof loadPages>): void
writeFileSync(metadataPath, clientMetadata(site))
console.log(` -> .well-known/client-metadata.json`)
// Generate apple-app-site-association for Universal Links (if appId is set)
if (site.appId) {
const aasa = {
applinks: {
apps: [],
details: [{
appID: site.appId,
paths: ['/oauth/callback', '/oauth/callback/']
}]
}
}
const aasaPath = join(siteDir, '.well-known/apple-app-site-association')
writeFileSync(aasaPath, JSON.stringify(aasa, null, 2))
console.log(` -> .well-known/apple-app-site-association`)
}
// Copy assets
copyAssets(site)
}

View File

@@ -3,9 +3,10 @@
"name": "Aicard",
"domain": "card.syui.ai",
"scheme": "aicard",
"appId": "WN6KD5ZT49.ai.syui.card",
"version": "1.0.0",
"category": "Game",
"description": "Aicard is a card collection game integrated with AT Protocol.",
"description": "Aicard is an atmosphere card collecting game.",
"backLink": "syui.ai",
"icon": "/static/app.png",
"os": "iOS 26.0+",

View File

@@ -5,7 +5,7 @@
"scheme": "airse",
"version": "1.0.0",
"category": "Game",
"description": "Airse is an adventure game built with Unreal Engine, featuring AT Protocol integration.",
"description": "Airse is an atmosphere open-world game connected to the social network.",
"backLink": "syui.ai",
"icon": "/static/app.png",
"os": "Windows / macOS",

View File

@@ -3,6 +3,7 @@ export interface SiteConfig {
name: string
domain: string
scheme: string
appId?: string
version: string
category: string
description: string