3 Commits

Author SHA1 Message Date
Janis
6936eaf689 fix update script 2022-10-29 15:47:22 +02:00
Janis
1fbd632a30 update script now works 2022-10-29 15:41:22 +02:00
Janis
493e85684d version v0.0.2 2022-10-29 15:38:59 +02:00
3 changed files with 8 additions and 5 deletions

View File

@@ -1,3 +1,3 @@
{ {
"version": "v0.0.1" "version": "v0.0.4"
} }

5
readme.md Normal file
View File

@@ -0,0 +1,5 @@
# A Twtich camera frame for OBS
## Setup
1. Change the `apiKey` in the file `config.js` to your [Tipeestream API-Key](https://www.tipeeestream.com/dashboard/api-key/)
2. Insert the `frame.html` as browser source in your obs

View File

@@ -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" Invoke-WebRequest -Uri "https://github.com/DerTyp876/obs-twitch-camera-frame/archive/refs/tags/$newestVersionString.zip" -OutFile "./temp/$newestVersionString.zip"
Write-Output "Extracting archive..." Write-Output "Extracting archive..."
Expand-Archive -Path "./temp/$newestVersionString.zip" -DestinationPath "./temp/" 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 Remove-Item "./temp" -Recurse -Force -Confirm
@@ -50,6 +50,4 @@ if ($newestVersionString -ne "") {
else { else {
Write-Output "No new version found!" Write-Output "No new version found!"
} }
pause