Skip to content

Commit

Permalink
Merge pull request #19 from sumo300/delugia-fixes
Browse files Browse the repository at this point in the history
Fixed Delugia build issues
  • Loading branch information
sumo300 authored May 25, 2024
2 parents e9513cd + 043e5af commit a1f033e
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nerd-fonts-DelugiaBook/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ function global:au_GetLatest {
# Ignore any errors
}

# Fix the version returned as Choco requires Major.Minor.Build semver
$semver = [version]$version

if ($semver.Build -eq -1) {
$version = $semver.ToString() + ".0"
}

return @{
URL32 = $url
Version = $version.Replace('v','')
Expand Down
8 changes: 8 additions & 0 deletions nerd-fonts-DelugiaComplete/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ function global:au_GetLatest {
# Ignore any errors
}

# Fix the version returned as Choco requires Major.Minor.Build semver
$semver = [version]$version

if ($semver.Build -eq -1) {
$version = $semver.ToString() + ".0"
}


return @{
URL32 = $url
Version = $version.Replace('v','')
Expand Down
8 changes: 8 additions & 0 deletions nerd-fonts-DelugiaMono-Complete/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ function global:au_GetLatest {
# Ignore any errors
}

# Fix the version returned as Choco requires Major.Minor.Build semver
$semver = [version]$version

if ($semver.Build -eq -1) {
$version = $semver.ToString() + ".0"
}


return @{
URL32 = $url
Version = $version.Replace('v','')
Expand Down
8 changes: 8 additions & 0 deletions nerd-fonts-DelugiaMono-Powerline/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ function global:au_GetLatest {
# Ignore any errors
}

# Fix the version returned as Choco requires Major.Minor.Build semver
$semver = [version]$version

if ($semver.Build -eq -1) {
$version = $semver.ToString() + ".0"
}


return @{
URL32 = $url
Version = $version.Replace('v','')
Expand Down
8 changes: 8 additions & 0 deletions nerd-fonts-DelugiaPowerline/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ function global:au_GetLatest {
# Ignore any errors
}

# Fix the version returned as Choco requires Major.Minor.Build semver
$semver = [version]$version

if ($semver.Build -eq -1) {
$version = $semver.ToString() + ".0"
}


return @{
URL32 = $url
Version = $version.Replace('v','')
Expand Down

0 comments on commit a1f033e

Please sign in to comment.