We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d960502 commit 318d37eCopy full SHA for 318d37e
src/main/first-run.ts
@@ -17,10 +17,14 @@ export async function onFirstRunMaybe() {
17
* Ask user if the app should be moved to the applications folder (masOS).
18
*/
19
async function promptMoveToApplicationsFolder() {
20
- if (!isMacOS()) return;
+ if (!isMacOS()) {
21
+ return;
22
+ }
23
24
const isDevMode = !!process.defaultApp;
- if (isDevMode || app.isInApplicationsFolder()) return;
25
+ if (isDevMode || app.isInApplicationsFolder()) {
26
27
28
29
const { response } = await dialog.showMessageBox({
30
type: 'question',
0 commit comments