Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
- change version link to match changes made to release
- removed date formatting as it is not needed anymore
- Renamed Github Link to "ChrisTitusTech/winutil" because you can't select the text but click on it to open the link directly so it is unnecessary
  • Loading branch information
MyDrift-user committed Jun 11, 2024
1 parent 7944296 commit 3c65857
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions scripts/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -467,18 +467,13 @@ $sync["AboutMenuItem"].Add_Click({
# Handle Export menu item click
Write-Debug "About clicked"
$sync["SettingsPopup"].IsOpen = $false
# Extract date from version
$versionDate = $sync.version
$date = [datetime]::ParseExact($versionDate, "yy.MM.dd", $null)
$formattedDate = $date.ToString("yyyy-MM-dd")
$commitLink = "https://github.com/ChrisTitusTech/winutil/commits/main/?since=$formattedDate&until=$formattedDate"
$authorInfo = @"
Author : <a href="https://github.com/ChrisTitusTech">@christitustech</a>
Runspace : <a href="https://github.com/DeveloperDurp">@DeveloperDurp</a>
GUI : <a href="https://github.com/KonTy">@KonTy</a>
MicroWin : <a href="https://github.com/KonTy">@KonTy</a>
GitHub : <a href="https://github.com/ChrisTitusTech/winutil">https://github.com/ChrisTitusTech/winutil</a>
Version : <a href="$commitLink">$($sync.version)</a>
GitHub : <a href="https://github.com/ChrisTitusTech/winutil">ChrisTitusTech/winutil</a>
Version : <a href="https://github.com/ChrisTitusTech/winutil/releases/tag/$($sync.version)">$($sync.version)</a>
"@
Show-CustomDialog -Message $authorInfo -Width 400
})
Expand Down

0 comments on commit 3c65857

Please sign in to comment.