Skip to content

Commit bd518f4

Browse files
authored
Merge pull request #50 from opengrep/reduce-artifact-sizes
Refactor ASAR packaging configuration in forge.config.js
2 parents 2966b51 + 05c2f27 commit bd518f4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

forge.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ binaries.forEach((bin) => {
1717

1818
module.exports = {
1919
packagerConfig: {
20-
asar: {
21-
unpack: '**/bin/**', // Ensure binaries are outside ASAR
22-
},
20+
asar: true, // Enable ASAR packaging
21+
// Binaries are already outside ASAR via extraResource, no need to unpack them
2322
extraResource: [path.join(__dirname, 'bin')], // Include binary folder
2423
win32metadata: {
2524
CompanyName: 'Opengrep',

0 commit comments

Comments
 (0)