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
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ which can be complicated, especially for mobile targets.
12
12
13
13
The plugin reads by default the file `src-tauri/src-python/main.py` during
14
14
startup and runs it immediately. Make sure to add all your python source as tauri resource,
15
-
so it is shipped together with your productioon binaries. Python functions are all registered during plugin initialization
15
+
so it is shipped together with your production binaries. Python functions are all registered during plugin initialization
16
16
and can get called during application workflow.
17
17
18
18
@@ -58,11 +58,10 @@ Javascript in [examples/plain-javascript](https://github.com/marcomq/tauri-plugi
58
58
59
59
## Add the plugin to an existing tauri application
60
60
61
-
62
61
These steps assume that you already have a basic tauri application available. Alternatively, you can immediately start with the application in "example" directory.
63
62
64
63
- run `npm run tauri add python`
65
-
- add `src-tauri/src-python/main.py` and modify it acording to your needs, for example add
64
+
- add `src-tauri/src-python/main.py` and modify it according to your needs, for example add
66
65
```python
67
66
# src-tauri/src-python/main.py
68
67
_tauri_plugin_functions = ["greet_python"] # make "greet_python" callable from UI
0 commit comments