Skip to content

Commit c624028

Browse files
authored
fix: default to say backend on macOS, kokoro on other platforms (#23)
1 parent 080de05 commit c624028

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/config.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
use std::path::PathBuf;
22

3+
#[cfg(target_os = "macos")]
4+
pub const DEFAULT_BACKEND: &str = "say";
5+
#[cfg(not(target_os = "macos"))]
36
pub const DEFAULT_BACKEND: &str = "kokoro";
47

58
pub const SUPPORTED_LANGS: &[&str] = &[

0 commit comments

Comments
 (0)