From 092a6fb435cb574e905ede789afdb5df558f8f70 Mon Sep 17 00:00:00 2001 From: Emad Adel <19177373+emadadel4@users.noreply.github.com> Date: Fri, 22 Nov 2024 01:25:19 +0200 Subject: [PATCH] Update Startup-Log.ps1 --- scripts/Core/Startup-Log.ps1 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/Core/Startup-Log.ps1 b/scripts/Core/Startup-Log.ps1 index afe83e35..6beda988 100644 --- a/scripts/Core/Startup-Log.ps1 +++ b/scripts/Core/Startup-Log.ps1 @@ -182,10 +182,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 @@ -200,11 +200,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()