diff --git a/Console-QRcode/main.ps1 b/Console-QRcode/main.ps1 index f855d52..17e2ba0 100644 --- a/Console-QRcode/main.ps1 +++ b/Console-QRcode/main.ps1 @@ -19,10 +19,6 @@ Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing [Console]::BackgroundColor = "Black" -$wshell = New-Object -ComObject wscript.shell -$wshell.AppActivate("Powershell.exe") -$wshell.SendKeys("{F11}") - cls function Generate-QRCodeURL { @@ -71,4 +67,4 @@ for ($y = 0; $y -lt $Bitmap.Height; $y += 2) { $QRCodeImage.Dispose() Remove-Item -Path $QRCodeImageFile -Force -pause \ No newline at end of file +pause