Skip to content

Commit

Permalink
why does curl return exit code 1 when using -o?
Browse files Browse the repository at this point in the history
  • Loading branch information
RoboMWM committed Jan 14, 2025
1 parent 70a8d64 commit 0e1dec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OutlookNewBlocker.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ copy "%~dp0AppxManifest.xml" "%AppData%\OutlookNewBlocker" >nul
if %errorLevel% neq 0 (
echo AppxManifest.xml not found, attempting to download from GitHub...
curl https://raw.githubusercontent.com/RoboMWM/OutlookNewBlocker/refs/heads/master/AppxManifest.xml -o %AppData%\OutlookNewBlocker\AppxManifest.xml
if %errorLevel% neq 0 (
if %errorLevel% neq 1 (
echo.
echo Error: Failed to create AppxManifest.xml. Download AppxManifest.xml from GitHub and try again.
echo.
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This script removes and prevents the Outlook (new) app from installing, allowing

## Instructions

1. Download and save [OutlookNewBlocker.bat](https://github.com/RoboMWM/OutlookNewBlocker/releases/download/1.0.2/OutlookNewBlocker.bat)
1. Download and save [OutlookNewBlocker.bat](https://github.com/RoboMWM/OutlookNewBlocker/releases/download/1.0.3/OutlookNewBlocker.bat)
1. You will likely have to click through multiple prompts to "keep" the file.
2. Open the Downloads folder.
3. Right-click `OutlookNewBlocker.bat` and `Run as administrator`
Expand Down

0 comments on commit 0e1dec1

Please sign in to comment.