You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 08919f7
Browse filesBrowse the repository at this point in the historyBrowse files
* don't download verso when targetting mobile
* return Error
* Better error message
Signed-off-by: Ludea <ludovicw35@hotmail.com>
* Note to explain Not found error
Signed-off-by: Ludea <ludovicw35@hotmail.com>
* link to verso release
Signed-off-by: Ludea <ludovicw35@hotmail.com>
* Better error message and return error earlier
Signed-off-by: Ludea <ludovicw35@hotmail.com>
* mve to Known issues and add config file tips
Signed-off-by: Ludea <ludovicw35@hotmail.com>
* Update docs
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,4 +89,18 @@ We currently hard coded the `Origin` header for the custom protocol IPC to work,
89
89
90
90
Currently, only the app wide menus on macOS are supported, per window menus are not supported yet
91
91
92
+
### Mobile
93
+
94
+
We currently only support Linux, Windows, MacOS, so no mobile (e.g. Android / iOS) support yet
95
+
96
+
If your app targets both desktop and mobile and want to use this runtime only on desktop, you'll need to:
97
+
98
+
- Include the crates in this repo only in desktop target dependencies
99
+
- Enable `wry` feature on `tauri` when targeting mobile
100
+
- Use `tauri::Builder::new()` instead of `tauri_runtime_verso::builder()` on mobile
101
+
- Add checks to only run `get_verso_as_external_bin` when targeting desktop
102
+
- Add `externalBin` only for desktop platforms, either through [tauri conf file for each platform](https://tauri.app/reference/config/#platform-specific-configuration) or `--config` flag to target a different configuration file that contains the `externalBin` field
103
+
104
+
---
105
+
92
106
For more, checkout the [documentation](https://versotile-org.github.io/tauri-runtime-verso/tauri_runtime_verso)
0 commit comments