WebChat/scripts/manifest.ts
2023-07-12 04:22:57 +08:00

10 lines
288 B
TypeScript

import fs from 'fs-extra'
import { getManifest } from '../src/manifest'
import { log, r } from './utils'
export async function writeManifest() {
await fs.writeJSON(r('extension/manifest.json'), await getManifest(), { spaces: 2 })
log('PRE', 'write manifest.json')
}
writeManifest()