RenaiApp/src/main/modules/app-window/main-app-window.ts

19 lines
563 B
TypeScript
Raw Normal View History

import { injectable } from 'inversify';
import { inject } from '../../core/inject';
import type { SessionHelperInterface } from '../session/session-helper-interface';
import { FileAppWindow } from './file-app-window';
@injectable()
export class MainAppWindow extends FileAppWindow {
public constructor(
@inject('logger') logger: LoggerInterface,
@inject('session-helper') sessionHelper: SessionHelperInterface
) {
super(logger, sessionHelper, 'frontend/index.html', {
webPreferences: {
nodeIntegration: true,
},
});
}
}