Skip to content

Commit

Permalink
postinstall
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt committed Feb 28, 2018
1 parent 0b48ebc commit b806636
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 7,457 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -42,3 +42,4 @@ RUN.lnk
_build/
scout-files/cultures/translation.csv
translated.txt
package-lock.json
6 changes: 3 additions & 3 deletions build.js
Expand Up @@ -165,7 +165,7 @@ fs.writeJsonSync(build + 'package.json', manifest);
if (lin) {
fs.writeJsonSync(build32 + 'package.json', manifest);
}
copy('npm-is-stupid.js', 'npm-is-stupid.js');
copy('postinstall.js', 'postinstall.js');
copy(sf + 'index.html', sf + 'index.html');
var timeFiles = Date.now() + '';
console.log('Copying files - ' + timer(timeFiles, timeClean));
Expand Down Expand Up @@ -193,12 +193,12 @@ console.log('Copying folders - ' + timer(timeFolder, timeFiles));
// Run executables
process.chdir(build);
exec('npm --loglevel=error install');
fs.removeSync('npm-is-stupid.js');
fs.removeSync('postinstall.js');
fs.removeSync('package-lock.json');
if (lin) {
process.chdir('../../lin32/Scout-App');
exec('npm --loglevel=error install');
fs.removeSync('npm-is-stupid.js');
fs.removeSync('postinstall.js');
fs.removeSync('package-lock.json');
}
if (darwin) {
Expand Down
308 changes: 0 additions & 308 deletions npm-is-stupid.js

This file was deleted.

0 comments on commit b806636

Please sign in to comment.