client/main.js
Function createWindow
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createWindow() {
// You can change CommandOrControl+Alt+\ to the shortcut to manage the application.
globalShortcut.register('CommandOrControl+Alt+\\', function () {
let result = dialog.showMessageBox({
type: 'info',