1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-20 15:21:36 +03:00
leon/scripts/setup-offline/run-setup-hotword.js

15 lines
262 B
JavaScript
Raw Normal View History

import { log } from '@/helpers/log'
2019-02-10 15:26:50 +03:00
2022-09-03 14:12:41 +03:00
import setupHotword from './setup-hotword'
2019-02-10 15:26:50 +03:00
/**
* Execute the setup offline hotword script
*/
2022-09-03 14:12:41 +03:00
;(async () => {
2019-02-10 15:26:50 +03:00
try {
await setupHotword()
} catch (e) {
log.error(`Failed to setup offline hotword: ${e}`)
}
})()