mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-27 09:18:12 +08:00
6 lines
247 B
JavaScript
6 lines
247 B
JavaScript
|
import { readFileSync, writeFileSync } from 'fs'
|
||
|
|
||
|
let file = readFileSync('./src/admin/options.ts', { flag: 'r' }).toString()
|
||
|
file = file.replace('@/locales', './locales')
|
||
|
writeFileSync('./scripts/options-export/options.ts', file, { flag: 'w+' })
|