85742c5785
* split relay into two environments, refactored schema grabbing, implemented api call for token price graph
10 lines
306 B
JavaScript
10 lines
306 B
JavaScript
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
const { exec } = require('child_process')
|
|
const isWindows = process.platform === 'win32' || /^(msys|cygwin)$/.test(process.env.OSTYPE)
|
|
|
|
if (isWindows) {
|
|
exec(`type nul > src/locales/en-US.po`)
|
|
} else {
|
|
exec(`touch src/locales/en-US.po`)
|
|
}
|