diff --git a/itt.ps1 b/itt.ps1 index 99331aa6..5b224bd1 100644 --- a/itt.ps1 +++ b/itt.ps1 @@ -29,7 +29,7 @@ $itt = [Hashtable]::Synchronized(@{ database = @{} ProcessRunning = $false developer = "Emad Adel" - lastupdate = "11/21/2024" + lastupdate = "11/22/2024" github = "https://github.com/emadadel4/itt" telegram = "https://t.me/emadadel4" blog = "https://emadadel4.github.io" @@ -7240,10 +7240,10 @@ function Startup { # Determine run count and message if ($existingData) { $runs = $existingData.runs + 1 - #Telegram -Message "💻 '$env:USERNAME' has opened ITT again." + Telegram -Message "💻 '$env:USERNAME' has opened ITT again." } else { $runs = 1 - #Telegram -Message "🎉 A new device 👤 '$env:USERNAME' is now running ITT!" + Telegram -Message "🎉 A new device 👤 '$env:USERNAME' is now running ITT!" } # Update Firebase with the new run count @@ -7258,11 +7258,7 @@ function Startup { Write-Host "`nITT has been used on $totalKeys devices worldwide.`n" -ForegroundColor White # Determine run count and message - if ($existingData) { - Telegram -Message "💻 '$env:USERNAME' has opened ITT again." - } else { - Telegram -Message "🎉 A new device 👤 '$env:USERNAME' is now running ITT!`n`🌍 Total users worldwide: $totalKeys" - } + Telegram -Message "🌍 Total users worldwide: $totalKeys" # Force garbage collection to free memory [System.GC]::Collect() @@ -12854,23 +12850,23 @@ function Show-Event { - $itt.event.FindName('ytv').add_MouseLeftButtonDown({ - Start-Process('https://www.youtube.com/watch?v=QmO82OTsU5c') + $itt.event.FindName('contribute').add_MouseLeftButtonDown({ + Start-Process('https://github.com/emadadel4/itt?tab=readme-ov-file#-how-to-contribute') }) - $itt.event.FindName('shell').add_MouseLeftButtonDown({ - Start-Process('https://github.com/emadadel4/shelltube') + $itt.event.FindName('ps').add_MouseLeftButtonDown({ + Start-Process('https://www.palestinercs.org/en/Donation') }) - $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('ps').add_MouseLeftButtonDown({ - Start-Process('https://www.palestinercs.org/en/Donation') + $itt.event.FindName('shell').add_MouseLeftButtonDown({ + Start-Process('https://github.com/emadadel4/shelltube') })