wip: using local package for development
This commit is contained in:
2
frontend/src-tauri/Cargo.lock
generated
2
frontend/src-tauri/Cargo.lock
generated
@@ -4156,8 +4156,6 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "tauri-plugin-sharetarget"
|
||||
version = "0.1.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "15a6e4638b6a5492a46847fc9e994df8cfd2dbc1bacc11f15c207d6a2163c341"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
||||
@@ -38,5 +38,5 @@ cocoa = "0.26"
|
||||
[target."cfg(any(target_os = \"macos\", target_os = \"linux\", target_os = \"windows\"))".dependencies]
|
||||
tauri-plugin-global-shortcut = "2"
|
||||
|
||||
[target."cfg(target_os = \"android\")".dependencies]
|
||||
tauri-plugin-sharetarget = "0.1.6"
|
||||
[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
|
||||
tauri-plugin-sharetarget = { path = "../../tauri-plugin-sharetarget"}
|
||||
|
||||
@@ -8,6 +8,7 @@ permissions = [
|
||||
"fs:default",
|
||||
"http:default",
|
||||
"os:default",
|
||||
"sharetarget:default",
|
||||
{ identifier = "http:default", allow = [
|
||||
{ url = "https://haystack.johncosta.tech" },
|
||||
{ url = "http://localhost:3040" },
|
||||
|
||||
@@ -57,7 +57,7 @@ pub fn android() {
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_store::Builder::new().build())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
//.plugin(tauri_plugin_sharetarget::init())
|
||||
.plugin(tauri_plugin_sharetarget::init())
|
||||
.setup(|app| {
|
||||
log::info!("running things!");
|
||||
setup_window(app)?;
|
||||
|
||||
Reference in New Issue
Block a user