Showing 4 of 41 total issues
Function setupMenuItems
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async setupMenuItems(): Promise<void> {
this.items = [
{
link: '/home',
title: await this.getTranslation('PAGES.HOME.TITLE'),
Function createWindow
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createWindow() {
const win = new BrowserWindow({
width: 1200,
height: 730,
minHeight: 680,
Function updateButtonAppearance
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private updateButtonAppearance(): void {
switch (this.applicationStatus) {
case ApplicationStatus.NOT_INSTALLED:
this.buttonStatus = 'success';
this.buttonText = this.getInstallButtonText();
Function installApplication
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
installApplication(application: Application): Promise<void> {
switch (application.packageType) {
case PackageType.SNAP:
this.addProcess(
new InstallSnap(this.childProcess, application, (process) =>