| 123456789101112131415161718192021222324252627282930313233 |
- export class WinConfig {
- public productName: string = '';
- public companyName: string = '';
- public fileDescription: string = '';
- public productVersion: string = '';
- public fileVersion: string = '';
- public copyright: string = '';
- public versionStrings: {
- ProductName?: undefined,
- CompanyName?: undefined,
- FileDescription?: undefined,
- LegalCopyright?: undefined,
- } = {};
- public icon: string = undefined;
- constructor(options: any = {}) {
- Object.keys(this).map((key) => {
- if(options[key] !== undefined) {
- switch(key) {
- default:
- (<any>this)[key] = options[key];
- break;
- }
- }
- });
- }
- }
|