formatting

This commit is contained in:
smartfrigde 2022-06-16 17:31:42 +02:00
parent 0b165e64bc
commit b7a0d1face
1 changed files with 15 additions and 15 deletions

View File

@ -1,9 +1,9 @@
import {app, Menu, Tray} from "electron";
import {mainWindow} from "./window";
import {getConfig, setWindowState} from "./utils";
import { app, Menu, Tray } from "electron";
import { mainWindow } from "./window";
import { getConfig, setWindowState } from "./utils";
import * as path from "path";
import {createSettingsWindow} from "./settings/main";
import {platform} from "process";
import { createSettingsWindow } from "./settings/main";
import { platform } from "process";
let tray: any = null;
let defaultIcon = "ac_plug_colored";
app.whenReady().then(async () => {
@ -23,11 +23,11 @@ app.whenReady().then(async () => {
label: "Quit ArmCord",
click: function () {
let [width, height] = mainWindow.getSize()
setWindowState({
width: width,
height: height,
isMaximized: mainWindow.isMaximized()
})
setWindowState({
width: width,
height: height,
isMaximized: mainWindow.isMaximized()
})
app.quit();
}
}
@ -71,11 +71,11 @@ app.whenReady().then(async () => {
label: "Quit ArmCord",
click: function () {
let [width, height] = mainWindow.getSize()
setWindowState({
width: width,
height: height,
isMaximized: mainWindow.isMaximized()
})
setWindowState({
width: width,
height: height,
isMaximized: mainWindow.isMaximized()
})
app.quit();
}
}