open-stage-control/scripts/copy-assets.js
2018-10-26 12:11:11 +02:00

10 lines
318 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var cpr = require('cpr'),
path = require('path'),
files = [
['../resources/images/logo-nobadge.png', '../app/browser/favicon.png'],
['../resources/images/logo.png', '../app/browser/logo.png']
]
for (var i in files) {
cpr(...files[i].map(f => path.resolve(__dirname + '/' + f)), {})
}