From 3c65857cea4b90322f91f5817ab602c5dddd7bf8 Mon Sep 17 00:00:00 2001 From: MyDrift Date: Tue, 11 Jun 2024 20:12:48 +0200 Subject: [PATCH] Fix - 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 --- scripts/main.ps1 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 3d313783..6f603e46 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -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 : @christitustech Runspace : @DeveloperDurp GUI : @KonTy MicroWin : @KonTy -GitHub : https://github.com/ChrisTitusTech/winutil -Version : $($sync.version) +GitHub : ChrisTitusTech/winutil +Version : $($sync.version) "@ Show-CustomDialog -Message $authorInfo -Width 400 })