mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:28:11 +09:00
windows codex update error
This commit is contained in:
@@ -8,6 +8,9 @@ winget install `
|
||||
--silent `
|
||||
--disable-interactivity
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Failed to install or update ChatGPT."
|
||||
$exitCode = $LASTEXITCODE
|
||||
$updateNotApplicable = -1978335189 # 0x8A15002B
|
||||
|
||||
if ($exitCode -notin @(0, $updateNotApplicable)) {
|
||||
throw "Failed to install or update ChatGPT (WinGet exit code $exitCode)."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user