Skip to content

Commit 2538ee1

Browse files
committed
fix(sqlitestudio): update portable ref
1 parent 4cf3ac7 commit 2538ee1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: automatic/sqlitestudio/update.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
function global:au_SearchReplace {
44
@{
55
"$($Latest.PackageName).nuspec" = @{
6-
"(\<dependency .+?`"sqlite-studio.portable`" version=)`"([^`"]+)`"" = "`$1`"$($Latest.Version)`""
6+
"(\<dependency .+?`"sqlite-studio.install`" version=)`"([^`"]+)`"" = "`$1`"$($Latest.Version)`""
77
}
88
}
99
}
1010

1111
function global:au_GetLatest {
12-
$page = Invoke-WebRequest -Uri "https://chocolatey.org/packages/sqlite-studio.portable/" -UseBasicParsing
13-
$regexUrl = 'packages\/sqlite-studio.portable\/(?<version>[\d.]+)\/ContactAdmins'
12+
$page = Invoke-WebRequest -Uri "https://chocolatey.org/packages/sqlite-studio.install/" -UseBasicParsing
13+
$regexUrl = 'packages\/sqlite-studio.install\/(?<version>[\d.]+)\/ContactAdmins'
1414

1515
$page.links | Where-Object href -match $regexUrl | Select-Object -First 1 -expand href
1616

0 commit comments

Comments
 (0)