Skip to content

Commit a963901

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
update name of store host
1 parent 825fa20 commit a963901

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dsc/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ Press any key to close this window
186186
return;
187187
};
188188

189-
if parent_process.name().to_lowercase() == "winstore.app.exe" || parent_process.name().to_lowercase() == "explorer.exe"{
189+
// MS Store runs app using `sihost.exe`
190+
if parent_process.name().to_lowercase() == "sihost.exe" || parent_process.name().to_lowercase() == "explorer.exe"{
190191
eprintln!("{message}");
191192
// wait for keypress
192193
let _ = io::stdin().read(&mut [0u8]).unwrap();

0 commit comments

Comments
 (0)