Skip to content

Commit

Permalink
Update itt.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed Oct 17, 2024
1 parent 8e0b301 commit 5f45ff3
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions itt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12644,9 +12644,22 @@ function Show-Event {
$itt.event.FindName('date').Text = $itt.date
$CloseBtn = $itt.event.FindName('closebtn')

#{title}
$itt.event.FindName('title').text = 'New Update!
'.Trim()

#{contorlshandler}

$itt.event.FindName('contribute').add_MouseLeftButtonDown({
Start-Process('https://github.com/emadadel4/itt?tab=readme-ov-file#-how-to-contribute')
})

$itt.event.FindName('ytv').add_MouseLeftButtonDown({
Start-Process('https://www.youtube.com/watch?v=QmO82OTsU5c')
})

$itt.event.FindName('shell').add_MouseLeftButtonDown({
Start-Process('https://github.com/emadadel4/shelltube')
})


$CloseBtn.add_MouseLeftButtonDown({
$itt.event.Close()
Expand Down Expand Up @@ -16905,3 +16918,4 @@ Stop-Transcript
#===========================================================================
#endregion End Main
#===========================================================================

0 comments on commit 5f45ff3

Please sign in to comment.