refactor: move PowerShell scripts to a dedicated scripts/ directory and remove unused timestamp.go.
This commit is contained in:
5
scripts/bot.ps1
Normal file
5
scripts/bot.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
$env:PATH = "D:\esto_al_path\msys64\mingw64\bin;$env:PATH"
|
||||
$env:PKG_CONFIG_PATH = "D:\esto_al_path\msys64\mingw64\lib\pkgconfig"
|
||||
|
||||
$env:XAI_API_KEY = "xai-TyecBoTLlFNL0Qxwnb0eRainG8hKTpJGtnCziMhm1tTyB1FrLpZm0gHNYA9qqqX21JsXStN1f9DseLdJ"
|
||||
go run ./cmd/voicebot --server localhost:9987 --nickname Eva --voice Ara --greeting "Hola!"
|
||||
12
scripts/bot2.ps1
Normal file
12
scripts/bot2.ps1
Normal file
@@ -0,0 +1,12 @@
|
||||
# Fix UTF-8 encoding for PowerShell
|
||||
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
$OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
chcp 65001 > $null
|
||||
|
||||
$env:PATH = "D:\esto_al_path\msys64\mingw64\bin;$env:PATH"
|
||||
$env:PKG_CONFIG_PATH = "D:\esto_al_path\msys64\mingw64\lib\pkgconfig"
|
||||
|
||||
$env:XAI_API_KEY = "xai-TyecBoTLlFNL0Qxwnb0eRainG8hKTpJGtnCziMhm1tTyB1FrLpZm0gHNYA9qqqX21JsXStN1f9DseLdJ"
|
||||
# go run ./cmd/voicebot --server localhost:9987 --nickname Adam --voice Rex --greeting " " --room "test"
|
||||
|
||||
go run ./cmd/voicebot --server ts.vlazaro.es:9987 --nickname Adam --voice Rex --greeting " " --room "Room #1"
|
||||
3
scripts/headers.ps1
Normal file
3
scripts/headers.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
$env:PATH = "D:\esto_al_path\msys64\mingw64\bin;$env:PATH"
|
||||
$env:PKG_CONFIG_PATH = "D:\esto_al_path\msys64\mingw64\lib\pkgconfig"
|
||||
|
||||
7
scripts/run.ps1
Normal file
7
scripts/run.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
$env:PATH = "D:\esto_al_path\msys64\mingw64\bin;$env:PATH"
|
||||
$env:PKG_CONFIG_PATH = "D:\esto_al_path\msys64\mingw64\lib\pkgconfig"
|
||||
|
||||
Write-Host "Starting TeamSpeak Client (Windows Native)..." -ForegroundColor Cyan
|
||||
# go run ./cmd/client/main.go --server localhost:9987
|
||||
# go run ./cmd/example --server localhost:9987
|
||||
go run ./cmd/tui --server ts.vlazaro.es:9987 --nickname Adam --debug
|
||||
13
scripts/tui.ps1
Normal file
13
scripts/tui.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
# Fix UTF-8 encoding for PowerShell
|
||||
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
$OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
chcp 65001 > $null
|
||||
|
||||
$env:PATH = "D:\esto_al_path\msys64\mingw64\bin;$env:PATH"
|
||||
$env:PKG_CONFIG_PATH = "D:\esto_al_path\msys64\mingw64\lib\pkgconfig"
|
||||
|
||||
$env:XAI_API_KEY = "xai-TyecBoTLlFNL0Qxwnb0eRainG8hKTpJGtnCziMhm1tTyB1FrLpZm0gHNYA9qqqX21JsXStN1f9DseLdJ"
|
||||
# go run ./cmd/voicebot --server localhost:9987 --nickname Adam --voice Rex --greeting " " --room "test"
|
||||
|
||||
# go run ./cmd/tui --server ts.vlazaro.es:9987 --nickname Adam
|
||||
go build -o dist/tui_debug.exe ./cmd/tui
|
||||
Reference in New Issue
Block a user