Skip to content
This repository was archived by the owner on Sep 2, 2019. It is now read-only.

Commit a7723b5

Browse files
committed
update.ps1 updated to reflect Sourceforge API changes
1 parent 0b18e49 commit a7723b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/update.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $PROJECT_ROOT_DIR = $(Resolve-Path "$PSScriptRoot\..")
1616
$OUTPUT_DIR = "$PROJECT_ROOT_DIR\src"
1717
$TMP_FILE = "$env:TMP\wxsqlite3.zip"
1818

19-
$WXSQLITE_SF_API_URL = "http://sourceforge.net/api/file/index/project-id/51305/crtime/desc/limit/2/path/Components%2fwxSQLite3/rss"
19+
$WXSQLITE_SF_API_URL = "http://sourceforge.net/projects/wxcode/rss?path=/Components/wxSQLite3&limit=2"
2020
$WXSQLITE_SF_API_SRC = $WebClient.DownloadString($WXSQLITE_SF_API_URL)
2121
$WXSQLITE_URL = $WXSQLITE_SF_API_SRC -replace "`n|`r" -replace '.*<link>([^<]*\.zip\/download).*','$1'
2222

@@ -48,7 +48,6 @@ function getSqliteVersion(){
4848
$OLD_WXSQLITE_VERSION = getLocalVersion "wxsqlite"
4949
$REMOTE_WXSQLITE_VERSION = getRemoteWxSqliteVersion
5050

51-
5251
if ($(compareVersions $OLD_WXSQLITE_VERSION $REMOTE_WXSQLITE_VERSION) -ne -1){
5352
"You already have the newest version of wxSqlite - {0}" -f $OLD_WXSQLITE_VERSION
5453
exit

0 commit comments

Comments
 (0)