From cbee71b2c63b1cec983bca9c018661fbacbf359e Mon Sep 17 00:00:00 2001
From: Julian Waller
Date: Mon, 19 Dec 2022 12:24:42 +0000
Subject: [PATCH] chore: fix format check
---
.prettierignore | 3 ++-
launcher/main.js | 17 +++++++++++------
launcher/window.css | 2 +-
launcher/window.html | 14 +++++++-------
4 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/.prettierignore b/.prettierignore
index 1aa63f7b8c..415e001463 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -15,4 +15,5 @@ module-legacy/manifests
module-legacy/dist
module-legacy/entrypoints
-module-local-dev
\ No newline at end of file
+module-local-dev
+bundled-modules
\ No newline at end of file
diff --git a/launcher/main.js b/launcher/main.js
index ebedd55b9b..30c51dbed8 100644
--- a/launcher/main.js
+++ b/launcher/main.js
@@ -159,10 +159,15 @@ if (!lock) {
function sendAppInfo() {
if (window) {
const loginSettings = app.getLoginItemSettings()
- window.webContents.send('info', {
- ...uiConfig.store,
- run_at_login: loginSettings.openAtLogin
- }, appInfo, process.platform)
+ window.webContents.send(
+ 'info',
+ {
+ ...uiConfig.store,
+ run_at_login: loginSettings.openAtLogin,
+ },
+ appInfo,
+ process.platform
+ )
}
}
@@ -317,10 +322,10 @@ if (!lock) {
console.log('changed start minimized:', msg)
uiConfig.set('start_minimised', msg)
})
-
+
ipcMain.on('launcher-set-run-at-login', (e, msg) => {
console.log('changed run at login:', msg)
-
+
app.setLoginItemSettings({
openAtLogin: !!msg,
})
diff --git a/launcher/window.css b/launcher/window.css
index 067bcf6f20..38f0289eb9 100644
--- a/launcher/window.css
+++ b/launcher/window.css
@@ -214,4 +214,4 @@ input[type='checkbox'] {
grid-auto-columns: 1fr;
padding: 0 20px;
-}
\ No newline at end of file
+}
diff --git a/launcher/window.html b/launcher/window.html
index 76fd234dc2..ab34c746d8 100644
--- a/launcher/window.html
+++ b/launcher/window.html
@@ -31,13 +31,13 @@ Status
-
-
-
-
-
-
-
+
+
+
+
+
+
+