Skip to content

Commit 0c2abc3

Browse files
author
AntonOks
committed
todo-backup-free-aoks: Fix checkver.script.$regex
1 parent 573bd48 commit 0c2abc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bucket/todo-backup-free-aoks.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.6.0",
2+
"version": "20241016",
33
"description": "Best free backup software for Windows. Always keep your PC protected with the highest level of data security!",
44
"homepage": "https://www.easeus.de/backup-software/todo-backup-free.html",
55
"license": "Freeware",
@@ -20,7 +20,7 @@
2020
"script": [
2121
"# Using script to get version number",
2222
"$url = 'https://www.easeus.com/backup-software/version-update-history.html'",
23-
"$regex = '<div class=\"version\">\\n<p class=\"t\">Version.\\d+<br>\\((\\d+)\\)</p>[\\n\\s\\w<=\\\">/]+<li>EaseUS Todo Backup Home \\d+</li>\\n</ul>\\n'",
23+
"$regex = '>Version:\\d+<br>\\((\\d+)\\)<'",
2424
"$cont = $(Invoke-WebRequest $url).Content",
2525
"if(!($cont -match $regex)) { error \"Could match '$regex' on '$url'\"; return }",
2626
"Write-Output $matches[1]"

0 commit comments

Comments
 (0)