forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
9
electron/node_modules/app-builder-lib/out/core.js
generated
vendored
9
electron/node_modules/app-builder-lib/out/core.js
generated
vendored
|
|
@ -2,6 +2,7 @@
|
|||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DIR_TARGET = exports.DEFAULT_TARGET = exports.Target = exports.Platform = void 0;
|
||||
const builder_util_1 = require("builder-util");
|
||||
const builder_util_runtime_1 = require("builder-util-runtime");
|
||||
class Platform {
|
||||
constructor(name, buildConfigurationKey, nodeName) {
|
||||
this.name = name;
|
||||
|
|
@ -16,7 +17,7 @@ class Platform {
|
|||
return new Map([[this, new Map()]]);
|
||||
}
|
||||
const archToType = new Map();
|
||||
for (const arch of archs == null || archs.length === 0 ? [builder_util_1.archFromString(process.arch)] : archs) {
|
||||
for (const arch of archs == null || archs.length === 0 ? [(0, builder_util_1.archFromString)(process.arch)] : archs) {
|
||||
archToType.set(arch, type == null ? [] : Array.isArray(type) ? type : [type]);
|
||||
}
|
||||
return new Map([[this, archToType]]);
|
||||
|
|
@ -49,12 +50,14 @@ class Target {
|
|||
constructor(name, isAsyncSupported = true) {
|
||||
this.name = name;
|
||||
this.isAsyncSupported = isAsyncSupported;
|
||||
// use only for tasks that cannot be executed in parallel (such as signing on windows and hdiutil on macOS due to file locking)
|
||||
this.buildQueueManager = new builder_util_1.AsyncTaskManager(new builder_util_runtime_1.CancellationToken());
|
||||
}
|
||||
async checkOptions() {
|
||||
// ignore
|
||||
}
|
||||
finishBuild() {
|
||||
return Promise.resolve();
|
||||
async finishBuild() {
|
||||
await this.buildQueueManager.awaitTasks();
|
||||
}
|
||||
}
|
||||
exports.Target = Target;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue