Skip to content

Commit 318d37e

Browse files
committed
chore: biome
Signed-off-by: Adam Setch <[email protected]>
1 parent d960502 commit 318d37e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/main/first-run.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ export async function onFirstRunMaybe() {
1717
* Ask user if the app should be moved to the applications folder (masOS).
1818
*/
1919
async function promptMoveToApplicationsFolder() {
20-
if (!isMacOS()) return;
20+
if (!isMacOS()) {
21+
return;
22+
}
2123

2224
const isDevMode = !!process.defaultApp;
23-
if (isDevMode || app.isInApplicationsFolder()) return;
25+
if (isDevMode || app.isInApplicationsFolder()) {
26+
return;
27+
}
2428

2529
const { response } = await dialog.showMessageBox({
2630
type: 'question',

0 commit comments

Comments
 (0)