mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-09 08:30:15 +00:00
always dereference symlinks - per #42
This commit is contained in:
parent
92c75b0326
commit
aa5c6187e3
2
linux.js
2
linux.js
@ -28,7 +28,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
function copyUserApp () {
|
||||
ncp(opts.dir, userAppDir, {filter: userFilter}, function copied (err) {
|
||||
ncp(opts.dir, userAppDir, {filter: userFilter, dereference: true}, function copied (err) {
|
||||
if (err) return cb(err)
|
||||
if (opts.prune) {
|
||||
prune(function pruned (err) {
|
||||
|
2
mac.js
2
mac.js
@ -80,7 +80,7 @@ function buildMacApp (opts, cb, newApp) {
|
||||
}
|
||||
|
||||
// copy users app into .app
|
||||
ncp(opts.dir, paths.app, {filter: filter}, function copied (err) {
|
||||
ncp(opts.dir, paths.app, {filter: filter, dereference: true}, function copied (err) {
|
||||
if (err) return cb(err)
|
||||
|
||||
if (opts.prune) {
|
||||
|
2
win32.js
2
win32.js
@ -62,7 +62,7 @@ function buildWinApp (opts, cb, newApp) {
|
||||
}
|
||||
|
||||
// copy users app into .app
|
||||
ncp(opts.dir, paths.app, {filter: filter}, function copied (err) {
|
||||
ncp(opts.dir, paths.app, {filter: filter, dereference: true}, function copied (err) {
|
||||
if (err) return cb(err)
|
||||
|
||||
if (opts.prune) {
|
||||
|
Loading…
Reference in New Issue
Block a user