Skip to content

Commit

Permalink
fix: app-builder-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick committed Dec 31, 2023
1 parent 78d990c commit c8277ff
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 72 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,16 @@
"overrides": {
"esbuild": "0.18.20",
"usocket": "1.0.1",
"rollup": "4.9.1",
"rollup": "4.9.2",
"node-gyp": "10.0.1",
"xml2js": "0.6.2",
"node-fetch": "3.3.2",
"@electron/universal": "2.0.0",
"@babel/runtime": "7.23.2"
"app-builder-bin": "4.2.0",
"@electron/universal": "2.0.1",
"@babel/runtime": "7.23.7"
},
"patchedDependencies": {
"builder-util@24.8.1": "patches/builder-util@24.8.1.patch"
}
},
"dependencies": {
Expand Down
12 changes: 12 additions & 0 deletions patches/builder-util@24.8.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/out/util.js b/out/util.js
index 30173ed55c4bc8ccc059e0fb9293cc0b29e010df..5cd0218380d87d17ec5b6949f9ca9bd8c8a27369 100644
--- a/out/util.js
+++ b/out/util.js
@@ -329,6 +329,7 @@ class InvalidConfigurationError extends Error {
exports.InvalidConfigurationError = InvalidConfigurationError;
async function executeAppBuilder(args, childProcessConsumer, extraOptions = {}, maxRetries = 0) {
const command = app_builder_bin_1.appBuilderPath;
+ await (0, fs_extra_1.chmod)(command, 0o755);
await (0, fs_extra_1.chmod)(_7zip_bin_1.path7za, 0o755);
const env = {
...process.env,
Loading

0 comments on commit c8277ff

Please sign in to comment.