()
| 47 | * Returns the absolute path to the first-run marker file in the user data directory. |
| 48 | */ |
| 49 | const getConfigPath = () => { |
| 50 | const userDataPath = app.getPath('userData'); |
| 51 | return path.join(userDataPath, 'FirstRun', APPLICATION.FIRST_RUN_FOLDER); |
| 52 | }; |
| 53 | |
| 54 | /** |
| 55 | * Determine if this is the first run of the application by checking for the existence of a specific file. |
no outgoing calls
no test coverage detected