MacConfig.js 857 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var MacConfig = /** @class */ (function () {
  4. function MacConfig(options) {
  5. if (options === void 0) { options = {}; }
  6. var _this = this;
  7. this.name = '';
  8. this.displayName = '';
  9. this.version = '';
  10. this.description = '';
  11. this.copyright = '';
  12. this.icon = undefined;
  13. this.documentIcon = undefined;
  14. this.plistStrings = {};
  15. Object.keys(this).map(function (key) {
  16. if (options[key] !== undefined) {
  17. switch (key) {
  18. default:
  19. _this[key] = options[key];
  20. break;
  21. }
  22. }
  23. });
  24. }
  25. return MacConfig;
  26. }());
  27. exports.MacConfig = MacConfig;
  28. //# sourceMappingURL=MacConfig.js.map