Use boolean values for app launch

This commit is contained in:
Jackson Coxson
2025-03-22 10:57:13 -06:00
parent c9f90783c9
commit 873240c4aa
2 changed files with 6 additions and 8 deletions

View File

@@ -33,14 +33,8 @@ impl<'a, R: ReadWrite> ProcessControlClient<'a, R> {
.into(), .into(),
); );
let mut options = Dictionary::new(); let mut options = Dictionary::new();
options.insert( options.insert("StartSuspendedKey".into(), start_suspended.into());
"StartSuspendedKey".into(), options.insert("KillExisting".into(), kill_existing.into());
if start_suspended { 0_u64 } else { 1 }.into(),
);
options.insert(
"KillExisting".into(),
if kill_existing { 0_u64 } else { 1 }.into(),
);
let env_vars = match env_vars { let env_vars = match env_vars {
Some(e) => e, Some(e) => e,

View File

@@ -38,6 +38,10 @@ impl<R: ReadWrite> RemoteServerClient<R> {
}) })
} }
pub fn into_inner(self) -> R {
self.idevice
}
pub fn root_channel(&mut self) -> Channel<R> { pub fn root_channel(&mut self) -> Channel<R> {
Channel { Channel {
client: self, client: self,