From 1fbd632a306d11ab4efd1ba410ab3e65373b6a43 Mon Sep 17 00:00:00 2001 From: Janis Date: Sat, 29 Oct 2022 15:41:22 +0200 Subject: [PATCH] update script now works --- meta.json | 2 +- update.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta.json b/meta.json index 3b882bf..fc32d7e 100644 --- a/meta.json +++ b/meta.json @@ -1,3 +1,3 @@ { - "version": "v0.0.2" + "version": "v0.0.3" } diff --git a/update.ps1 b/update.ps1 index 1903727..5b20f28 100644 --- a/update.ps1 +++ b/update.ps1 @@ -40,7 +40,7 @@ if ($newestVersionString -ne "") { Invoke-WebRequest -Uri "https://github.com/DerTyp876/obs-twitch-camera-frame/archive/refs/tags/$newestVersionString.zip" -OutFile "./temp/$newestVersionString.zip" Write-Output "Extracting archive..." Expand-Archive -Path "./temp/$newestVersionString.zip" -DestinationPath "./temp/" - Get-ChildItem -Path "./temp/ts5-obs-overlay-$($newestVersionString -replace 'v')" -Recurse | Move-Item -Destination "./" + Get-ChildItem -Path "./temp/obs-twitch-camera-frame-$($newestVersionString -replace 'v')" -Recurse | Move-Item -Destination "./" Remove-Item "./temp" -Recurse -Force -Confirm