Skip to content

Commit

Permalink
obs-studio: Fix checkver (#3486)
Browse files Browse the repository at this point in the history
* obs-studio: fix "checkver" check

seems like the GitHub download / releases is not the right place to go /  not so reliable... because different versions are released for Window, macOS, Linux...

* adopting @Ash258 suggestions

* Update obs-studio.json

Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
  • Loading branch information
2 people authored and rasa committed Jan 19, 2020
1 parent db3b011 commit 43cd54e
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions bucket/obs-studio.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"homepage": "https://obsproject.com/",
"description": "Free and open source software for video recording and live streaming.",
"license": "GPL-2.0-only",
"version": "24.0.3",
"description": "Video recording and live streaming software",
"homepage": "https://obsproject.com",
"license": "GPL-2.0-only",
"architecture": {
"64bit": {
"url": "https://github.com/obsproject/obs-studio/releases/download/24.0.3/OBS-Studio-24.0.3-Full-x64.zip",
"hash": "69aea7d24b1b0a3bb73243c847e3c848bd970fef120808c8b26cab1ded163966",
"shortcuts": [
[
"bin\\64bit\\obs64.exe",
"OBS Studio (64bit)"
"OBS Studio"
]
]
},
Expand All @@ -20,27 +20,24 @@
"shortcuts": [
[
"bin\\32bit\\obs32.exe",
"OBS Studio (32bit)"
"OBS Studio"
]
]
}
},
"pre_install": "if (!(Test-Path \"$persist_dir\\portable_mode.txt\")) { New-Item \"$dir\\portable_mode.txt\" | Out-Null }",
"persist": [
"config",
"portable_mode.txt"
],
"pre_install": "if(!(test-path \"$dir\\portable_mode.txt\")) { Add-Content \"$dir\\portable_mode.txt\" $null }",
"checkver": {
"github": "https://github.com/obsproject/obs-studio",
"regex": "/download/([\\d\\.]+)/OBS-Studio-(?<short>[\\d\\.]+)-Full"
},
"checkver": "aria-label=\"Windows\"></div><span>([\\d.]+)</span>",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/obsproject/obs-studio/releases/download/$version/OBS-Studio-$matchShort-Full-x64.zip"
"url": "https://github.com/obsproject/obs-studio/releases/download/$version/OBS-Studio-$version-Full-x64.zip"
},
"32bit": {
"url": "https://github.com/obsproject/obs-studio/releases/download/$version/OBS-Studio-$matchShort-Full-x86.zip"
"url": "https://github.com/obsproject/obs-studio/releases/download/$version/OBS-Studio-$version-Full-x86.zip"
}
}
}
Expand Down

0 comments on commit 43cd54e

Please sign in to comment.