mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
11 lines
347 B
TypeScript
11 lines
347 B
TypeScript
import fs from 'fs-extra'
|
|
import { getManifest } from '../src/manifest'
|
|
import { isFirefox, log, r } from './utils'
|
|
|
|
export async function writeManifest() {
|
|
await fs.writeJSON(r(isFirefox ? 'extension-firefox/manifest.json' : 'extension/manifest.json'), await getManifest(), { spaces: 2 })
|
|
log('PRE', 'write manifest.json')
|
|
}
|
|
|
|
writeManifest()
|