CityBEM-CityLayers-SaeedRay.../node_modules/@electron-forge/installer-exe/dist/InstallerExe.js

36 lines
1.8 KiB
JavaScript
Raw Permalink Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
require("source-map-support/register");
var _installerBase = _interopRequireDefault(require("@electron-forge/installer-base"));
var _open = _interopRequireDefault(require("open"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
class InstallerExe extends _installerBase.default {
constructor(...args) {
super(...args);
_defineProperty(this, "name", 'exe');
}
async install({
filePath
}) {
await (0, _open.default)(filePath, {
wait: false
});
}
}
exports.default = InstallerExe;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9JbnN0YWxsZXJFeGUudHMiXSwibmFtZXMiOlsiSW5zdGFsbGVyRXhlIiwiSW5zdGFsbGVyQmFzZSIsImluc3RhbGwiLCJmaWxlUGF0aCIsIndhaXQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBOztBQUVBOzs7Ozs7QUFFZSxNQUFNQSxZQUFOLFNBQTJCQyxzQkFBM0IsQ0FBeUM7QUFBQTtBQUFBOztBQUFBLGtDQUMvQyxLQUQrQztBQUFBOztBQUd6QyxRQUFQQyxPQUFPLENBQUM7QUFDWkMsSUFBQUE7QUFEWSxHQUFELEVBRVE7QUFDbkIsVUFBTSxtQkFBS0EsUUFBTCxFQUFlO0FBQUVDLE1BQUFBLElBQUksRUFBRTtBQUFSLEtBQWYsQ0FBTjtBQUNEOztBQVBxRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBJbnN0YWxsZXJCYXNlLCB7IEluc3RhbGxlck9wdGlvbnMgfSBmcm9tICdAZWxlY3Ryb24tZm9yZ2UvaW5zdGFsbGVyLWJhc2UnO1xuXG5pbXBvcnQgb3BlbiBmcm9tICdvcGVuJztcblxuZXhwb3J0IGRlZmF1bHQgY2xhc3MgSW5zdGFsbGVyRXhlIGV4dGVuZHMgSW5zdGFsbGVyQmFzZSB7XG4gIG5hbWUgPSAnZXhlJztcblxuICBhc3luYyBpbnN0YWxsKHtcbiAgICBmaWxlUGF0aCxcbiAgfTogSW5zdGFsbGVyT3B0aW9ucykge1xuICAgIGF3YWl0IG9wZW4oZmlsZVBhdGgsIHsgd2FpdDogZmFsc2UgfSk7XG4gIH1cbn1cbiJdfQ==