diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1e3f9ec..8600264 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -66,7 +66,7 @@ jobs: - name: Zip artifacts for release run: | cd artifacts/ - zip ../ProxySwitcher.zip * + zip -r ../ProxySwitcher.zip * - name: Create release env: diff --git a/install.ps1 b/install.ps1 index 4d25f1a..2cc44ae 100644 --- a/install.ps1 +++ b/install.ps1 @@ -37,7 +37,7 @@ if ($isRelease) { # Copy release assets to program dir Write-Host "Copying program into local directory..." -ForegroundColor Cyan - Copy-Item -Path "$releaseDir\*" -Destination $programPath -Force + Copy-Item -Path "$releaseDir\*" -Destination $programPath -Recurse -Force } else { # Download release files from github as-is