Skip to content

Commit

Permalink
Update update.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevenaar committed Oct 8, 2019
1 parent 6b22933 commit 12c273c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automatic/rocrail/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ function global:au_GetLatest {
$filename32 = $uri32.Substring($uri32.LastIndexOf("/") + 1)
$filename64 = $uri64.Substring($uri64.LastIndexOf("/") + 1)
$version = $filename64 -split '-' | select -Last 1 -Skip 1
$version = '0.' + $version
$version = '1.' + $version
$url32 = 'https://wiki.rocrail.net/rocrail-snapshot/history/' + $filename32
$url64 = 'https://wiki.rocrail.net/rocrail-snapshot/history/' + $filename64

$Latest = @{ URL32 = $url32; URL64 = $url64; Version = $version }
return $Latest
}

update
update

0 comments on commit 12c273c

Please sign in to comment.