1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-21 15:51:49 +03:00
leon/scripts/setup-offline/run-setup-hotword.js
2022-09-26 21:29:56 +08:00

15 lines
281 B
JavaScript

import { LogHelper } from '@/helpers/log-helper'
import setupHotword from './setup-hotword'
/**
* Execute the setup offline hotword script
*/
;(async () => {
try {
await setupHotword()
} catch (e) {
LogHelper.error(`Failed to setup offline hotword: ${e}`)
}
})()