Skip to content

Commit 94bdbbf

Browse files
committed
Add /no flag to prevent MakeAppx interactive prompts
1 parent 144ef63 commit 94bdbbf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

msixbundle/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ pub fn pack_arch(
336336
];
337337
if overwrite {
338338
args.push("/o".into());
339+
} else {
340+
args.push("/no".into());
339341
}
340342
let status = Command::new(&tools.makeappx)
341343
.args(args)
@@ -428,6 +430,8 @@ pub fn build_bundle(
428430
];
429431
if overwrite {
430432
args.push("/o".into());
433+
} else {
434+
args.push("/no".into());
431435
}
432436
let status = Command::new(&tools.makeappx)
433437
.args(args)

0 commit comments

Comments
 (0)