# Create desktop shortcut for SecondVoice $WshShell = New-Object -comObject WScript.Shell $Shortcut = $WshShell.CreateShortcut("$env:USERPROFILE\Desktop\SecondVoice.lnk") $Shortcut.TargetPath = Join-Path $PSScriptRoot "build\mingw-Release\SecondVoice.exe" $Shortcut.WorkingDirectory = Join-Path $PSScriptRoot "build\mingw-Release" $Shortcut.Description = "SecondVoice - Real-time Chinese to French Translation" $Shortcut.Save() Write-Host "Desktop shortcut created!" -ForegroundColor Green Write-Host "Double-click 'SecondVoice' on your desktop to launch" -ForegroundColor Cyan