Skip to content

Commit

Permalink
opt
Browse files Browse the repository at this point in the history
  • Loading branch information
HUMORCE committed Sep 20, 2024
1 parent f6ce496 commit d50bb55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/manifest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ function Get-Manifest($app) {
$bucket = $install_info.bucket
if (!$bucket) {
$url = $install_info.url
if ($url) {
if ($url -match '^(ht|f)tps?://|\\\\') {
$manifest = url_manifest $url
}
if ($url -match '^(ht|f)tps?://|\\\\') {
$manifest = url_manifest $url
}
if (!$manifest) {
if (Test-Path $url) {
Expand Down

0 comments on commit d50bb55

Please sign in to comment.