Skip to content

Commit

Permalink
occt: Add version 13.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
brian6932 committed Oct 26, 2024
1 parent 24bdafe commit e178107
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions bucket/occt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": "13.1.10",
"description": "OCCT is a comprehensive stability testing software suite.",
"homepage": "https://www.ocbase.com/occt/personal",
"license": {
"identifier": "Proprietary",
"url": "https://www.ocbase.com/support/faq-licensing"
},
"architecture": {
"64bit": {
"url": "https://dl.ocbase.com/per/stable/OCCT.exe",
"hash": "9c457ff443737d0f99115d3c4d51da43234e4beed744c3bb8db5057585a84695"
}
},
"pre_install": "$null = if (!(Test-Path \"$persist_dir$($cfg = '/OCCT.config.json')\")) { Set-Content \"$dir$cfg\" '{\"CheckForUpdates\":\"Disabled\",\"EnableSound\":false,\"AllowOcbaseUpload\":false}' -NoNewline }",
"persist": "OCCT.config.json",
"shortcuts": [
[
"OCCT.exe",
"OCCT"
]
],
"checkver": {
"script": [
"try {",
" $null = (Invoke-WebRequest $url).Content -match '/_next/static/([^/]+)/_buildManifest\\.js'",
" ($Matches[1], (Invoke-RestMethod \"https://www.ocbase.com/_next/data/$($Matches[1])/download.json\").pageProps.occtReleases[0].stable.release.version.versionStr) -join ' '",
"}",
"catch { '' }"
],
"regex": "\\A(?<buildid>[^/ ]+) ([\\d.]+)\\Z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://dl.ocbase.com/per/stable/OCCT.exe",
"hash": {
"url": "https://www.ocbase.com/_next/data/$matchBuildid/download.json",
"jsonpath": "$.pageProps.occtReleases[0].stable.release.checksum"
}
}
}
}
}

0 comments on commit e178107

Please sign in to comment.