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.
15 lines
304 B
15 lines
304 B
8 years ago
|
/* eslint-disable no-var */
|
||
|
|
||
|
// Native
|
||
|
var path = require('path')
|
||
|
var fs = require('fs')
|
||
|
|
||
|
var dist = path.join(__dirname, 'dist')
|
||
|
var now = path.join(dist, 'now')
|
||
|
|
||
|
fs.writeFileSync(
|
||
|
now,
|
||
|
'#!/usr/bin/env node\n' +
|
||
|
'console.log("\'Now\' binary downloading was interrupted. Please reinstall!")\n'
|
||
|
)
|