Skip to content

Commit ae2a8e3

Browse files
committed
fix edge-case runtime error when packing from inside a symlinked package
this only affects local development of the desktop package, as a .git directory is present
1 parent c2c0de3 commit ae2a8e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/electron/electron-builder.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ export default {
138138
from: process.env.NATIVEPHP_BUILD_PATH,
139139
to: 'build',
140140
filter: [
141-
'**/*'
141+
'**/*',
142+
'!{.git}',
142143
]
143144
}
144145
],

0 commit comments

Comments
 (0)