mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-20 15:21:36 +03:00
15 lines
258 B
JavaScript
15 lines
258 B
JavaScript
|
import log from '@/helpers/log'
|
||
|
|
||
|
import setupHotword from './setup-hotword';
|
||
|
|
||
|
/**
|
||
|
* Execute the setup offline hotword script
|
||
|
*/
|
||
|
(async () => {
|
||
|
try {
|
||
|
await setupHotword()
|
||
|
} catch (e) {
|
||
|
log.error(`Failed to setup offline hotword: ${e}`)
|
||
|
}
|
||
|
})()
|