Skip to content

Commit 7cb18b4

Browse files
committed
Update prepare.ps1
1 parent ecdd5b5 commit 7cb18b4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Diff for: prepare.ps1

+3-6
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,9 @@ function ConfigureScoop {
151151
# scoop install ppsspp
152152
scoop install rpcs3
153153

154-
try {
155-
scoop install yuzu
156-
}
157-
catch {
158-
Write-Output "ERROR: Failed to install yuzu"
159-
throw "Failed to install yuzu"
154+
scoop install yuzu
155+
if ($LASTEXITCODE -ne 0) {
156+
throw "Installation of $yuzu failed."
160157
}
161158

162159
}

0 commit comments

Comments
 (0)