fix: Run prettier

This commit is contained in:
LukeGus
2025-11-01 01:35:51 -05:00
parent a81ab8e7ef
commit 82d1cf09de
2 changed files with 8 additions and 3 deletions

View File

@@ -43,7 +43,12 @@ if (!gotTheLock) {
function createWindow() {
const appVersion = app.getVersion();
const electronVersion = process.versions.electron;
const platform = process.platform === "win32" ? "Windows" : process.platform === "darwin" ? "macOS" : "Linux";
const platform =
process.platform === "win32"
? "Windows"
: process.platform === "darwin"
? "macOS"
: "Linux";
mainWindow = new BrowserWindow({
width: 1200,
@@ -68,7 +73,7 @@ function createWindow() {
}
mainWindow.webContents.setUserAgent(
`Termix-Desktop/${appVersion} (${platform}; Electron/${electronVersion})`
`Termix-Desktop/${appVersion} (${platform}; Electron/${electronVersion})`,
);
if (isDev) {