48 lines
2.9 KiB
JavaScript
48 lines
2.9 KiB
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
Object.defineProperty(exports, "StartOptions", {
|
||
|
enumerable: true,
|
||
|
get: function () {
|
||
|
return _sharedTypes.StartOptions;
|
||
|
}
|
||
|
});
|
||
|
exports.default = void 0;
|
||
|
|
||
|
require("source-map-support/register");
|
||
|
|
||
|
var _sharedTypes = require("@electron-forge/shared-types");
|
||
|
|
||
|
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 Plugin {
|
||
|
constructor(config) {
|
||
|
this.config = config;
|
||
|
|
||
|
_defineProperty(this, "name", void 0);
|
||
|
|
||
|
_defineProperty(this, "__isElectronForgePlugin", void 0);
|
||
|
|
||
|
Object.defineProperty(this, '__isElectronForgePlugin', {
|
||
|
value: true,
|
||
|
enumerable: false,
|
||
|
configurable: false
|
||
|
});
|
||
|
}
|
||
|
|
||
|
init(_dir, _config) {}
|
||
|
|
||
|
getHook(_hookName) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
async startLogic(_startOpts) {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
exports.default = Plugin;
|
||
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9QbHVnaW4udHMiXSwibmFtZXMiOlsiUGx1Z2luIiwiY29uc3RydWN0b3IiLCJjb25maWciLCJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsInZhbHVlIiwiZW51bWVyYWJsZSIsImNvbmZpZ3VyYWJsZSIsImluaXQiLCJfZGlyIiwiX2NvbmZpZyIsImdldEhvb2siLCJfaG9va05hbWUiLCJzdGFydExvZ2ljIiwiX3N0YXJ0T3B0cyJdLCJtYXBw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