mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2025-01-24 07:38:36 +00:00
Merge pull request #43 from jden/dereference-symlinks
always dereference symlinks - per #42
This commit is contained in:
commit
5ad54e7c5e
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…
x
Reference in New Issue
Block a user