From 50dbe79f7cd562aa4440058e01d309deb018b85f Mon Sep 17 00:00:00 2001 From: alexchapar Date: Sat, 10 Aug 2024 10:53:29 -0400 Subject: [PATCH] obs-studio: Update to version 30.2.2 --- bucket/obs-studio.json | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/bucket/obs-studio.json b/bucket/obs-studio.json index 835f7878..06ce1db2 100644 --- a/bucket/obs-studio.json +++ b/bucket/obs-studio.json @@ -1,5 +1,5 @@ { - "version": "30.1.2", + "version": "30.2.2", "description": "Video recording and live streaming software", "homepage": "https://obsproject.com", "license": "GPL-2.0-only", @@ -9,8 +9,8 @@ ], "architecture": { "64bit": { - "url": "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-30.1.2.zip", - "hash": "35be787de3169413eb5e6b6dc8b493c3f1973dd3f8366144b54575f897906dc0", + "url": "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-30.2.2-Windows.zip", + "hash": "d8018dedd5453e24746a89f65500db51e8f37b3774d78a80ce65e1d2f9a6b3aa", "shortcuts": [ [ "bin\\64bit\\obs64.exe", @@ -22,16 +22,26 @@ "pre_install": "if (!(Test-Path \"$persist_dir\\portable_mode.txt\")) { New-Item \"$dir\\portable_mode.txt\" | Out-Null }", "persist": [ "config", - "portable_mode.txt" + "portable_mode.txt", + "obs-plugins" + ], + "post_install": [ + "if (!(Test-Path \"$dir\\obs-plugins.original\")) { return }", + "Copy-Item \"$dir\\obs-plugins.original\\*\" \"$dir\\obs-plugins\" -Recurse -Force", + "Remove-Item \"$dir\\obs-plugins.original\" -Recurse -Force" ], "checkver": { "url": "https://obsproject.com/download", - "regex": "OBS-Studio-([\\d.]+)\\.zip" + "regex": "OBS-Studio-([\\d.]+)(-Full|-Windows)?\\.zip" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-$version.zip" + "url": "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-$version-Windows.zip", + "hash": { + "url": "https://github.com/obsproject/obs-studio/releases/$version", + "regex": "(?sm)$basename.*?$sha256" + } } } }