mirror of
https://github.com/leon-ai/leon.git
synced 2025-01-01 21:26:08 +03:00
chore: add Leon version in check report
This commit is contained in:
parent
ec77dd0f02
commit
239ce6fb36
@ -3,6 +3,7 @@ import fs from 'fs'
|
||||
import { command } from 'execa'
|
||||
import semver from 'semver'
|
||||
|
||||
import { version } from '@@/package.json'
|
||||
import log from '@/helpers/log'
|
||||
|
||||
dotenv.config()
|
||||
@ -37,7 +38,12 @@ export default () => new Promise(async (resolve, reject) => {
|
||||
can_offline_stt: { title: 'Offline speech-to-text', type: 'warning', v: true }
|
||||
}
|
||||
|
||||
log.title('Checking');
|
||||
log.title('Checking')
|
||||
|
||||
// Leon version checking
|
||||
|
||||
log.info('Leon version')
|
||||
log.success(`${version}\n`);
|
||||
|
||||
// Environment checking
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user