diff --git a/README.md b/README.md index bf77076..a469539 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Download the most recent [release](https://github.com/UCSD-E4E/git-lfs-synology/ These install scripts install `git-lfs-synology` globally. This will impact all git repos on your system. Please install manually if this is something that you need to avoid. ```powershell -Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression (Invoke-WebRequest https://raw.githubusercontent.com/UCSD-E4E/git-lfs-synology/refs/heads/main/scripts/install.ps1).Content; Invoke-InstallScript +Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression (Invoke-WebRequest -Headers @{"Cache-Control"="no-cache"} https://raw.githubusercontent.com/UCSD-E4E/git-lfs-synology/refs/heads/main/scripts/install.ps1).Content; Invoke-InstallScript ``` ### Cargo diff --git a/scripts/install.ps1 b/scripts/install.ps1 index cdb72c8..0edc84d 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -78,7 +78,7 @@ function Invoke-InstallScript { } # Log into the server - git-lfs-synology --url $URL --user $User + git-lfs-synology login --url $URL --user $User # Get the suffix if ($IsWindows) {