File tree Expand file tree Collapse file tree
crates/goose-cli/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ fn asset_name() -> &'static str {
2424 }
2525 #[ cfg( all( target_os = "windows" , target_arch = "x86_64" ) ) ]
2626 {
27- "goose-x86_64-pc-windows-gnu .zip"
27+ "goose-x86_64-pc-windows-msvc .zip"
2828 }
2929}
3030
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ if ($ARCH -eq "AMD64") {
6363}
6464
6565# --- 3) Build download URL ---
66- $FILE = " goose-$ARCH -pc-windows-gnu .zip"
66+ $FILE = " goose-$ARCH -pc-windows-msvc .zip"
6767$DOWNLOAD_URL = " https://github.com/$REPO /releases/download/$RELEASE_TAG /$FILE "
6868
6969Write-Host " Downloading $RELEASE_TAG release: $FILE ..." - ForegroundColor Green
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ elif [ "$OS" = "windows" ]; then
184184 echo " Error: Windows currently only supports x86_64 architecture."
185185 exit 1
186186 fi
187- FILE=" goose-$ARCH -pc-windows-gnu .zip"
187+ FILE=" goose-$ARCH -pc-windows-msvc .zip"
188188 EXTRACT_CMD=" unzip"
189189 OUT_FILE=" goose.exe"
190190else
@@ -235,7 +235,7 @@ set +e # Disable immediate exit on error
235235if [ " $EXTRACT_CMD " = " tar" ]; then
236236 tar -xjf " $FILE " -C " $TMP_DIR " 2> tar_error.log
237237 extract_exit_code=$?
238-
238+
239239 # Check for tar errors
240240 if [ $extract_exit_code -ne 0 ]; then
241241 if grep -iEq " missing.*bzip2|bzip2.*missing|bzip2.*No such file|No such file.*bzip2" tar_error.log; then
252252 # Use unzip for Windows
253253 unzip -q " $FILE " -d " $TMP_DIR " 2> unzip_error.log
254254 extract_exit_code=$?
255-
255+
256256 # Check for unzip errors
257257 if [ $extract_exit_code -ne 0 ]; then
258258 echo " Error: Failed to extract $FILE . See details below:"
322322if [[ " :$PATH :" != * " :$GOOSE_BIN_DIR :" * ]]; then
323323 echo " "
324324 echo " Warning: goose installed, but $GOOSE_BIN_DIR is not in your PATH."
325-
325+
326326 if [ " $OS " = " windows" ]; then
327327 echo " To add goose to your PATH in PowerShell:"
328328 echo " "
@@ -382,9 +382,6 @@ if [[ ":$PATH:" != *":$GOOSE_BIN_DIR:"* ]]; then
382382 fi
383383
384384 fi
385-
385+
386386 echo " "
387387fi
388-
389-
390-
You can’t perform that action at this time.
0 commit comments