forge-maker.js 657 B

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.buildForge = void 0;
  4. const path = require("path");
  5. const index_1 = require("./index");
  6. function buildForge(forgeOptions, options) {
  7. const appDir = forgeOptions.dir;
  8. return (0, index_1.build)({
  9. prepackaged: appDir,
  10. config: {
  11. directories: {
  12. // https://github.com/electron-userland/electron-forge/blob/master/src/makers/generic/zip.js
  13. output: path.resolve(appDir, "..", "make"),
  14. },
  15. },
  16. ...options,
  17. });
  18. }
  19. exports.buildForge = buildForge;
  20. //# sourceMappingURL=forge-maker.js.map