4 Commits

Author SHA1 Message Date
Janis
d198699844 change version to v0.0.5 2022-10-29 15:51:20 +02:00
Janis
b5889e7b0a removed api key ;) 2022-10-29 15:51:02 +02:00
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
3 changed files with 5 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
const CONFIG = {
apiKey: "1e8d3bcbc24f95e64672521ccdcf6020e2d64d30",
apiKey: "",
};

View File

@@ -1,3 +1,3 @@
{
"version": "v0.0.2"
"version": "v0.0.5"
}

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"
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
@@ -50,6 +50,5 @@ if ($newestVersionString -ne "") {
else {
Write-Output "No new version found!"
}
Write-Output "You need to add your API-Key again to the config.js!"
pause