chore(single-instance): put deep link integration behined a feature (#1766)

* Make deep link optional for single instance

* Add change file

* Add deep-link feature to example

* Update plugins/deep-link/README.md

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* format

* [skip ci] update readme

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
Tony
2024-09-12 18:20:15 +08:00
committed by GitHub
co-authored by Fabian-Lars
parent 41afcae399
commit b2269333e3
7 changed files with 18 additions and 8 deletions
+4 -2
View File
@@ -34,8 +34,8 @@ use tauri::{Manager};
#[derive(Clone, serde::Serialize)]
struct Payload {
args: Vec<String>,
cwd: String,
args: Vec<String>,
cwd: String,
}
fn main() {
@@ -49,6 +49,8 @@ fn main() {
}
```
Note that currently, plugins run in the order they were added in to the builder, so make sure that this plugin is registered first.
## Contributing
PRs accepted. Please make sure to read the Contributing Guide before making a pull request.