mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 02:25:37 -05:00
18 lines
No EOL
234 B
PowerShell
Executable file
18 lines
No EOL
234 B
PowerShell
Executable file
$url = ($args[0].ToLower())
|
|
|
|
if($url.Contains("zip"))
|
|
{
|
|
Write-Host "zip"
|
|
}
|
|
elseif($url.Contains("exe"))
|
|
{
|
|
Write-Host "exe"
|
|
}
|
|
elseif($url.Contains("msi"))
|
|
{
|
|
Write-Host "msi"
|
|
}
|
|
elseif($url.Contains("tar.gz"))
|
|
{
|
|
Write-Host "tar.gz"
|
|
} |