17 lines
475 B
TypeScript
17 lines
475 B
TypeScript
import { injectable } from 'inversify';
|
|
import { Service } from '../../core/container';
|
|
import { inject } from '../../core/inject';
|
|
import { FileAppWindow } from './file-app-window';
|
|
|
|
@injectable()
|
|
export class MainAppWindow extends FileAppWindow {
|
|
public constructor(@inject(Service.LOGGER) logger: LoggerInterface) {
|
|
super(logger, 'frontend/index.html', {
|
|
webPreferences: {
|
|
nodeIntegration: true,
|
|
contextIsolation: false,
|
|
},
|
|
});
|
|
}
|
|
}
|