Add /explore redirect route that maps Honcho's deep-link shape (?workspace=...&view=...&session=...) onto our existing flat routes, so any app.honcho.dev URL works against a self-hosted instance by swapping the host. Wire tauri-plugin-deep-link to register the openconcho:// scheme on desktop and forward incoming URLs into the router on launch and at runtime.
45 lines
837 B
JSON
45 lines
837 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2.json",
|
|
"productName": "OpenConcho",
|
|
"identifier": "com.offendingcommit.openconcho",
|
|
"build": {
|
|
"frontendDist": "../../web/dist",
|
|
"devUrl": "http://localhost:5173",
|
|
"beforeDevCommand": "pnpm turbo --filter @openconcho/web dev",
|
|
"beforeBuildCommand": "pnpm turbo --filter @openconcho/web build"
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "OpenConcho",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 800,
|
|
"minHeight": 600
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"plugins": {
|
|
"deep-link": {
|
|
"mobile": [],
|
|
"desktop": {
|
|
"schemes": ["openconcho"]
|
|
}
|
|
}
|
|
}
|
|
}
|