Ship native iOS app, Wiki/TTS backend, and skeleton loading UX.
Replace the WebView shell with SwiftUI screens, add account-scoped Wiki and TTS APIs with adaptive review and photo scan support, and keep web/iOS pages usable while data loads asynchronously. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -44,6 +44,12 @@ for block in re.findall(r"<script>(.*?)</script>", html, re.DOTALL):
|
||||
if "./assets/app.js" not in html:
|
||||
raise SystemExit("index.html 缺少 ./assets/app.js 外链")
|
||||
|
||||
app_js = out / "assets" / "app.js"
|
||||
if app_js.stat().st_size > 400_000:
|
||||
raise SystemExit(
|
||||
f"app.js 过大({app_js.stat().st_size} bytes),可能再次触发 iOS WebKit overflow"
|
||||
)
|
||||
|
||||
print(">>> 已生成外链版 index.html(app.js / app.css 独立文件)")
|
||||
PY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user