mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-10 17:24:39 +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) {
|
function filter (file) {
|
||||||
|
// convert slashes so unix-format ignores work
|
||||||
|
file = file.replace(/\\/g, '/')
|
||||||
|
|
||||||
var ignore = opts.ignore || []
|
var ignore = opts.ignore || []
|
||||||
if (!Array.isArray(ignore)) ignore = [ignore]
|
if (!Array.isArray(ignore)) ignore = [ignore]
|
||||||
for (var i = 0; i < ignore.length; i++) {
|
for (var i = 0; i < ignore.length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user