mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
refac
This commit is contained in:
1 parent
1c3b634358
commit
637bfa74ce
3 files changed
+42
-27
No files matched your search
@@ -329,11 +329,14 @@ async def pwa_manifest():
|
||||
name = f"cptr @ {hostname}" if hostname else "cptr"
|
||||
|
||||
return {
|
||||
"id": "/",
|
||||
"name": name,
|
||||
"short_name": "cptr",
|
||||
"description": f"Your computer, from anywhere. v{version}",
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"display_override": ["window-controls-overlay", "standalone"],
|
||||
"orientation": "any",
|
||||
"background_color": "#000000",
|
||||
"theme_color": "#000000",
|
||||
@@ -348,6 +351,10 @@ async def pwa_manifest():
|
||||
},
|
||||
],
|
||||
"categories": ["developer", "productivity", "utilities"],
|
||||
"launch_handler": {"client_mode": ["navigate-existing", "auto"]},
|
||||
"handle_links": "preferred",
|
||||
"prefer_related_applications": False,
|
||||
"related_applications": [],
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="cptr" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<link rel="apple-touch-startup-image" href="/icon-512.png" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
|
||||
@@ -1,29 +1,36 @@
|
||||
{
|
||||
"name": "cptr",
|
||||
"short_name": "cptr",
|
||||
"description": "Your computer, from anywhere.",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"orientation": "any",
|
||||
"background_color": "#000000",
|
||||
"theme_color": "#000000",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"categories": ["developer", "productivity", "utilities"]
|
||||
"id": "/",
|
||||
"name": "cptr",
|
||||
"short_name": "cptr",
|
||||
"description": "Your computer, from anywhere.",
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"display_override": ["window-controls-overlay", "standalone"],
|
||||
"orientation": "any",
|
||||
"background_color": "#000000",
|
||||
"theme_color": "#000000",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"categories": ["developer", "productivity", "utilities"],
|
||||
"launch_handler": {"client_mode": ["navigate-existing", "auto"]},
|
||||
"handle_links": "preferred",
|
||||
"prefer_related_applications": false,
|
||||
"related_applications": []
|
||||
}
|
||||
Reference in new issue
Block a user