File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,19 @@ Subject: feat: initialize asar support
6
6
This patch initializes asar support in Node.js.
7
7
8
8
diff --git a/lib/internal/process/pre_execution.js b/lib/internal/process/pre_execution.js
9
- index 917ba90a1c8bbbff5d86e5f2079d1ce67237280e..66dfd7c1e521f38691e4656ac7ab0572a2fe75da 100644
9
+ index 9142fed75e9050fcc17c01208e82f1bc57923fcd..fc8f61ee6d30cf18951ec7a5eb5f09a9583a85ae 100644
10
10
--- a/lib/internal/process/pre_execution.js
11
11
+++ b/lib/internal/process/pre_execution.js
12
- @@ -67 ,6 +67,8 @@ function prepareWorkerThreadExecution () {
12
+ @@ -87 ,6 +87,7 @@ function prepareShadowRealmExecution () {
13
13
});
14
14
}
15
15
16
- +
17
16
+ let processLinkedBinding = process._linkedBinding;
18
17
function prepareExecution(options) {
19
18
const { expandArgv1, initializeModules, isMainThread } = options;
20
19
21
- @@ -172 ,12 +174 ,17 @@ function setupUserModules(isLoaderWorker = false) {
22
- loadPreloadModules();
20
+ @@ -193 ,12 +194 ,17 @@ function setupUserModules(forceDefaultLoader = false) {
21
+ }
23
22
// Need to be done after --require setup.
24
23
initializeFrozenIntrinsics();
25
24
+ setupAsarSupport();
You can’t perform that action at this time.
0 commit comments