Skip to content

Commit

Permalink
Update itt.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed Nov 21, 2024
1 parent fe3c18b commit 2056859
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions itt.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7245,6 +7245,7 @@ function Startup {
$runs = if ($existingData) {

$existingData.runs + 1
Telegram -Message "💻 '$env:USERNAME' has opened ITT again."
}
else
{
Expand All @@ -7259,10 +7260,7 @@ function Startup {
# Count the number of keys under the root
$response = Invoke-RestMethod -Uri $firebaseUrlRoot -Method Get -ErrorAction SilentlyContinue
$totalKeys = ($response | Get-Member -MemberType NoteProperty | Measure-Object).Count

if ($existingData) {
Telegram -Message "💻 '$env:USERNAME' has opened ITT again.`n`🌍 Total users worldwide: $totalKeys"
}
Telegram -Message "🌍 Total users worldwide: $totalKeys"

Write-Host "`nITT has been used on $totalKeys devices worldwide.`n" -ForegroundColor White

Expand Down

0 comments on commit 2056859

Please sign in to comment.