.iflow/settings.json
试了一下一次会话后没任何语音播报 但是可以在!模式下执行并播报
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "$player = New-Object System.Media.SoundPlayer;$player.SoundLocation = \"F:\\audio\\nanami.wav\";$player.PlaySync()"
}
]
}
],
"Start": [
{
"hooks": [
{
"type": "command",
"command": "$player = New-Object System.Media.SoundPlayer;$player.SoundLocation = \"F:\\audio\\nanami.wav\";$player.PlaySync()"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "$player = New-Object System.Media.SoundPlayer;$player.SoundLocation = \"F:\\audio\\nanami.wav\";$player.PlaySync()"
}
]
}
]
},
"$version": 2
}