mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-10-05 20:48:58 +03:00
This commit is contained in:
parent
84c783f6bc
commit
e538ba586c
6
.changes/fix-mobile-process-spawn.md
Normal file
6
.changes/fix-mobile-process-spawn.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-cli": patch:bug
|
||||
"@tauri-apps/cli": patch:bug
|
||||
---
|
||||
|
||||
Fixes android and iOS process spawning not working on Node.js.
|
@ -200,6 +200,14 @@ Enables the primary_monitor command without any pre-configured scope.
|
||||
|
||||
Denies the primary_monitor command without any pre-configured scope.
|
||||
|
||||
## allow-reparent
|
||||
|
||||
Enables the reparent command without any pre-configured scope.
|
||||
|
||||
## deny-reparent
|
||||
|
||||
Denies the reparent command without any pre-configured scope.
|
||||
|
||||
## allow-request-user-attention
|
||||
|
||||
Enables the request_user_attention command without any pre-configured scope.
|
||||
|
@ -20,7 +20,7 @@ use crate::{
|
||||
runtime::{
|
||||
monitor::Monitor as RuntimeMonitor,
|
||||
window::{DetachedWindow, PendingWindow, WindowBuilder as _},
|
||||
ProgressBarStatus, RuntimeHandle, WindowDispatch,
|
||||
RuntimeHandle, WindowDispatch,
|
||||
},
|
||||
sealed::ManagerBase,
|
||||
sealed::RuntimeOrDispatch,
|
||||
@ -1939,7 +1939,7 @@ tauri::Builder::default()
|
||||
#[derive(serde::Deserialize)]
|
||||
pub struct ProgressBarState {
|
||||
/// The progress bar status.
|
||||
pub status: Option<ProgressBarStatus>,
|
||||
pub status: Option<crate::runtime::ProgressBarStatus>,
|
||||
/// The progress bar progress. This can be a value ranging from `0` to `100`
|
||||
pub progress: Option<u64>,
|
||||
}
|
||||
|
5
tooling/cli/Cargo.lock
generated
5
tooling/cli/Cargo.lock
generated
@ -459,9 +459,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "cargo-mobile2"
|
||||
version = "0.10.0"
|
||||
version = "0.10.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2324a8dabdfe7ecbc0ec64686fbaf0121ebdfafb2848c15ac49301aa6a85a535"
|
||||
checksum = "8c09fe71e8a0ae116ffb0d5a4bf60ff3b9cd0ad4503753f50c0bd03dede79322"
|
||||
dependencies = [
|
||||
"colored",
|
||||
"core-foundation",
|
||||
@ -481,6 +481,7 @@ dependencies = [
|
||||
"once-cell-regex",
|
||||
"openssl",
|
||||
"os_info",
|
||||
"os_pipe",
|
||||
"path_abs",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
@ -39,7 +39,7 @@ name = "cargo-tauri"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
cargo-mobile2 = { version = "0.10", default-features = false }
|
||||
cargo-mobile2 = { version = "0.10.1", default-features = false }
|
||||
jsonrpsee = { version = "0.20", features = [ "server" ] }
|
||||
jsonrpsee-core = "0.20"
|
||||
jsonrpsee-client-transport = { version = "0.20", features = [ "ws" ] }
|
||||
|
@ -190,6 +190,8 @@ pub fn gen(
|
||||
&dest.join("project.yml").to_string_lossy(),
|
||||
],
|
||||
)
|
||||
.stdout_file(os_pipe::dup_stdout().unwrap())
|
||||
.stderr_file(os_pipe::dup_stderr().unwrap())
|
||||
.run()
|
||||
.with_context(|| "failed to run `xcodegen`")?;
|
||||
|
||||
@ -201,6 +203,8 @@ pub fn gen(
|
||||
&format!("--project-directory={}", dest.display()),
|
||||
],
|
||||
)
|
||||
.stdout_file(os_pipe::dup_stdout().unwrap())
|
||||
.stderr_file(os_pipe::dup_stderr().unwrap())
|
||||
.run()
|
||||
.with_context(|| "failed to run `pod install`")?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user