From e36edbcded5bddce8a748fb5cc55fea8884472bf Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:47:35 +0300 Subject: [PATCH] joke removed --- run.ps1 | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) diff --git a/run.ps1 b/run.ps1 index 0830740..f52eb1e 100644 --- a/run.ps1 +++ b/run.ps1 @@ -118,55 +118,6 @@ param # Ignore errors from `Stop-Process` $PSDefaultParameterValues['Stop-Process:ErrorAction'] = [System.Management.Automation.ActionPreference]::SilentlyContinue - -function Show-SpotXRIP { - $SpotXRipLogo = @" - - _____ _ __ __ _____ _____ _____ - / ____| | | \ \ / / | __ \|_ _|| __ \ - | (___ _ __ ___| |_ \ V / | |__) | | | | |__) | - \___ \| '_ \ / _ \ __| > < | _ / | | | ___/ - ____) | |_) | (_) | |_ / . \ | | \ \ _| |_ | | - |_____/| .__/ \___/ \__|/_/ \_\ |_| \_\_____||_| - | | - |_| - -"@ - - Write-Host $SpotXRipLogo -ForegroundColor Red - - Write-Host "SpotX is completely broken. The project has officially shut down and is no longer maintained as of today." -ForegroundColor Yellow - Write-Host "Thank you for all your support throughout the years." -ForegroundColor Yellow - Write-Host - - $message = "Choose an option:" - $options = [System.Management.Automation.Host.ChoiceDescription[]] @( - New-Object System.Management.Automation.Host.ChoiceDescription "&Exit", "Exit the script" - New-Object System.Management.Automation.Host.ChoiceDescription "&RIP", "RIP" - ) - - $choice = $host.UI.PromptForChoice("", $message, $options, 0) - - switch ($choice) { - 0 { - Write-Host "press any key to exit" -ForegroundColor Red - $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") - Exit - } - 1 { - cls - Write-Host "Alright, that was a stupid joke. Happy April Fools' Day!" -ForegroundColor Green - Write-Host - - } - } -} - -Show-SpotXRIP - - - - function Format-LanguageCode { # Normalizes and confirms support of the selected language.