Skip to content

Commit b419a88

Browse files
committed
Fixed report path
1 parent 98ad8ac commit b419a88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

msixbundle/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,14 +618,14 @@ pub fn validate_package(tools: &SdkTools, msix_or_bundle: &Path) -> Result<()> {
618618
.as_ref()
619619
.ok_or(MsixError::ToolMissing("appcert.exe (WACK)"))?;
620620

621-
let report_dir = std::env::temp_dir();
621+
let report_file = std::env::temp_dir().join("wack_report.xml");
622622
let status = Command::new(appcert)
623623
.args([
624624
"test",
625625
"-appxpackagepath",
626626
&msix_or_bundle.to_string_lossy(),
627627
"-reportoutputpath",
628-
&report_dir.to_string_lossy(),
628+
&report_file.to_string_lossy(),
629629
])
630630
.status()
631631
.context("run appcert (WACK)")?;

0 commit comments

Comments
 (0)