Initialize global variables for speech and autopilot

This commit is contained in:
dopeuni444 2025-07-31 13:19:20 +04:00
parent 7956969c8b
commit 4de69b584c

View File

@ -19,6 +19,11 @@ if ($PSVersionTable.PSVersion.Major -lt 7) {
exit 1
}
# Global variables
$script:SpeechRecognizer = $null
$script:SpeechSynthesizer = $null
$script:AutopilotEnabled = $false
# Load configuration
function Load-Configuration {
param([string]$ConfigPath)