Testimo icon indicating copy to clipboard operation
Testimo copied to clipboard

Improvement for Offline Environment

Open DonDom86 opened this issue 3 years ago • 0 comments

Hi,

$GitHubUrl = "https://api.github.com/repos/evotecit/Testimo/releases"

if ($(Test-Connection $GitHubUrl -Quiet -Count 1) -eq $true) { [Array] $GitHubReleases = (Get-GitHubLatestRelease -Url $GitHubUrl)

} else { [Array] $GitHubReleases = [PSCustomObject] @{ PublishDate = "" CreatedDate = "" PreRelease = "" Version = "" Tag = "" Branch = "" Errors = "Unable to connect to the remote server" }

}

DonDom86 avatar Aug 05 '22 06:08 DonDom86