File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import fs from 'node:fs';
22import path from 'node:path' ;
33import { app , dialog } from 'electron' ;
44
5+ import { APPLICATION } from '../shared/constants' ;
56import { logError } from '../shared/logger' ;
67import { isMacOS } from '../shared/platform' ;
78
@@ -32,7 +33,7 @@ async function promptMoveToApplicationsFolder() {
3233
3334const getConfigPath = ( ) => {
3435 const userDataPath = app . getPath ( 'userData' ) ;
35- return path . join ( userDataPath , 'FirstRun' , 'gitify-first-run' ) ;
36+ return path . join ( userDataPath , 'FirstRun' , APPLICATION . FIRST_RUN_FOLDER ) ;
3637} ;
3738
3839// Whether or not the app is being run for the first time.
Original file line number Diff line number Diff line change @@ -5,5 +5,7 @@ export const APPLICATION = {
55
66 EVENT_PREFIX : 'gitify:' ,
77
8+ FIRST_RUN_FOLDER : 'gitify-first-run' ,
9+
810 WEBSITE : 'https://gitify.io' ,
911} ;
You can’t perform that action at this time.
0 commit comments