Skip to content

Commit

Permalink
emeditor: fix autoupdate url format for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Locietta committed Mar 7, 2024
1 parent fbb8ba2 commit 026a88e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bucket/emeditor.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"$header = Invoke-WebRequest -Method Head -Uri $dl_url",
"$header.BaseResponse.RequestMessage.RequestUri.OriginalString"
],
"regex": "(?<site>[^\\s]+)/emed64_(?<version>[\\d.]+)_portable.zip"
"regex": "https://(?<site>[^\\s]+)/emed64_(?<version>[\\d.]+)_portable.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "$matchSite/emed64_$version_portable.zip"
"url": "https://$matchSite/emed64_$version_portable.zip"

This comment has been minimized.

Copy link
@Locietta

Locietta Mar 7, 2024

Author Owner

No, URI format checker does not allow $ in hostname, meanwhile it's okay with $ in following path. So I can't use $matchXxx to replace the potentially volatile site name and pass the manifest test.

},
"32bit": {
"url": "$matchSite/emed32_$version_portable.zip"
"url": "https://$matchSite/emed32_$version_portable.zip"
}
}
}
Expand Down

0 comments on commit 026a88e

Please sign in to comment.