Skip to content

Commit

Permalink
emeditor: improve autoupdate
Browse files Browse the repository at this point in the history
so if they change the download site again, we are fine
  • Loading branch information
Locietta committed Mar 1, 2024
1 parent 3409aa4 commit b2703ac
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bucket/emeditor.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"version": "23.1.3",
"version": "24.0.0",
"description": "A fast, lightweight and extensible text editor for Windows. Useful for opening very large files.",
"homepage": "https://www.emeditor.com/",
"license": "Shareware",
"architecture": {
"64bit": {
"url": "https://download.emeditor.info/emed64_23.1.3_portable.zip",
"hash": "e4e1c3bfe9a912a5a1147a79ec70abc68d1239e733144a8d6fdf27cefe4e62ec"
"url": "https://download.emeditor.info/emed64_24.0.0_portable.zip",
"hash": "2f08f9f856c8ec33e1adb712b0435939cd20e8fdb6a85ccb29e5f9dc8daf5afe"
},
"32bit": {
"url": "https://download.emeditor.info/emed32_23.1.3_portable.zip",
"hash": "435c67aa99ae4268d11757f27c9c59111d0457aa16213c95b9faa8d8198b713a"
"url": "https://download.emeditor.info/emed32_24.0.0_portable.zip",
"hash": "e64d7a593393a7c3ba0ec38311cb94056f525fe47dbaf37009ea969ae9d8fd07"
}
},
"pre_install": [
Expand Down Expand Up @@ -39,15 +39,15 @@
"$header = Invoke-WebRequest -Method Head -Uri $dl_url",
"$header.BaseResponse.RequestMessage.RequestUri.OriginalString"
],
"regex": "emed64_([\\d.]+)_portable.zip"
"regex": "(?<site>[^\\s]+)/emed64_(?<version>[\\d.]+)_portable.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.emeditor.info/emed64_$version_portable.zip"
"url": "$matchSite/emed64_$version_portable.zip"
},
"32bit": {
"url": "https://download.emeditor.info/emed32_$version_portable.zip"
"url": "$matchSite/emed32_$version_portable.zip"
}
}
}
Expand Down

0 comments on commit b2703ac

Please sign in to comment.