fix apply on windows os
This commit is contained in:
parent
f149c0a678
commit
56e68c169b
1 changed files with 9 additions and 9 deletions
|
|
@ -124,8 +124,8 @@ function copyDir(from, to, cb) {
|
|||
.on('end', function() {
|
||||
files.forEach(function(i) {
|
||||
console.log(' # ' + i);
|
||||
fs.copySync(i, to + path.basename(i));
|
||||
});
|
||||
fs.copySync(i, to);
|
||||
})
|
||||
return cb();
|
||||
|
||||
})
|
||||
|
|
@ -136,8 +136,8 @@ function copyDir(from, to, cb) {
|
|||
fs.copySync(configDir + '/GoogleService-Info.plist', '../GoogleService-Info.plist');
|
||||
fs.copySync(configDir + '/google-services.json', '../google-services.json');
|
||||
|
||||
copyDir(configDir + '/img/', '../www/img/app/', function() {
|
||||
copyDir(configDir + '/sass/', '../src/sass/app/', function() {
|
||||
copyDir(configDir + '/img', '../www/img/app', function() {
|
||||
copyDir(configDir + '/saas', '../src/sass/app', function() {
|
||||
console.log("apply.js finished. \n\n");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue