Skip to content

Commit 7e3569f

Browse files
committed
Updated the app footer
1 parent b01dc6f commit 7e3569f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/electron-app/main.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { app, BrowserWindow, dialog, screen, webContents } from "electron";
22
import * as path from "path";
33
import { AppPathType, CONSTANTS, DialogType } from "../common";
44
import { AppGlobalData } from "../models";
5-
import { DialogService, LogService, TranslationService, WindowService } from "../services";
5+
import { DialogService, LogService, WindowService } from "../services";
66
import { AppUtils, OsUtils } from "../utils";
77
import { AppConfig } from "../configurations";
88

@@ -34,10 +34,12 @@ function setupApplication() {
3434
// From config file
3535
Object.assign(global.appGlobal.packageJson.appConfig, AppConfig);
3636

37-
// Populate the global data
37+
// Populate the global data
38+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
3839
global.appGlobal.packageJson.appConfig.copyrightsDisplayText = (lang) => {
39-
return TranslationService.translate({ key: 'DEVELOPED_BY', lang }) + ': ' + global.appGlobal.packageJson.author
40-
+ ' | ' + global.appGlobal.packageJson.appConfig.copyrights.replace('[DATE]', new Date().getFullYear().toString());
40+
// return TranslationService.translate({ key: 'DEVELOPED_BY', lang }) + ': ' + global.appGlobal.packageJson.author
41+
// + ' | ' + global.appGlobal.packageJson.appConfig.copyrights.replace('[DATE]', new Date().getFullYear().toString());
42+
return global.appGlobal.packageJson.appConfig.copyrights.replace('[DATE]', new Date().getFullYear().toString());
4143
};
4244

4345

0 commit comments

Comments
 (0)