You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
351 B

/* eslint-disable no-var */
// Native
var path = require('path')
var fs = require('fs')
var dist = path.join(__dirname, 'dist')
var src = path.join(__dirname, 'src')
// Don't install when developing locally
if (fs.existsSync(src)) {
// eslint-disable-next-line unicorn/no-process-exit
process.exit(0)
}
require(path.join(dist, 'download.js'))