mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-03 21:40:53 +00:00
Initialize global variables for speech and autopilot
This commit is contained in:
@@ -19,6 +19,11 @@ if ($PSVersionTable.PSVersion.Major -lt 7) {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Global variables
|
||||||
|
$script:SpeechRecognizer = $null
|
||||||
|
$script:SpeechSynthesizer = $null
|
||||||
|
$script:AutopilotEnabled = $false
|
||||||
|
|
||||||
# Load configuration
|
# Load configuration
|
||||||
function Load-Configuration {
|
function Load-Configuration {
|
||||||
param([string]$ConfigPath)
|
param([string]$ConfigPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user