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
13
electron/node_modules/app-builder-lib/out/forge-maker.js
generated
vendored
13
electron/node_modules/app-builder-lib/out/forge-maker.js
generated
vendored
|
|
@ -1,20 +1,23 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.buildForge = void 0;
|
||||
exports.buildForge = buildForge;
|
||||
const path = require("path");
|
||||
const index_1 = require("./index");
|
||||
function buildForge(forgeOptions, options) {
|
||||
const appDir = forgeOptions.dir;
|
||||
return index_1.build({
|
||||
// Resolve appDir to an absolute canonical path before deriving any sibling
|
||||
// directories from it. Using path.dirname avoids embedding ".." in the
|
||||
// resolved path, which keeps downstream path comparisons and CodeQL taint
|
||||
// tracking straightforward.
|
||||
const appDir = path.resolve(forgeOptions.dir);
|
||||
return (0, index_1.build)({
|
||||
prepackaged: appDir,
|
||||
config: {
|
||||
directories: {
|
||||
// https://github.com/electron-userland/electron-forge/blob/master/src/makers/generic/zip.js
|
||||
output: path.resolve(appDir, "..", "make"),
|
||||
output: path.join(path.dirname(appDir), "make"),
|
||||
},
|
||||
},
|
||||
...options,
|
||||
});
|
||||
}
|
||||
exports.buildForge = buildForge;
|
||||
//# sourceMappingURL=forge-maker.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue