mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Merge pull request #46 from zaggino/zaggino/fix-win
convert slashes on windows so unix-format ignores work
This commit is contained in:
commit
37e319281c
3
win32.js
3
win32.js
@ -51,6 +51,9 @@ function buildWinApp (opts, cb, newApp) {
|
||||
}
|
||||
|
||||
function filter (file) {
|
||||
// convert slashes so unix-format ignores work
|
||||
file = file.replace(/\\/g, '/')
|
||||
|
||||
var ignore = opts.ignore || []
|
||||
if (!Array.isArray(ignore)) ignore = [ignore]
|
||||
for (var i = 0; i < ignore.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user