mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-26 23:44:18 +02:00
Do not open a cmd windows when using a shell command
This commit is contained in:
parent
555d6d025d
commit
374eb6ff2a
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ pub fn adb_shell_command(args: &str) -> Result<String,String> {
|
|||
#[cfg(target_os = "windows")]
|
||||
let output = Command::new("./ressources/windows/adb/adb")
|
||||
.args(&["shell", args])
|
||||
.creation_flags(0x08000000)
|
||||
.creation_flags(0x08000000) // do not open a cmd window
|
||||
.output()
|
||||
.expect("adb command failed to start. Do you have ADB installed?");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue