MCPcopy Index your code
hub / github.com/gitify-app/gitify / onFirstRunMaybe

Function onFirstRunMaybe

src/main/lifecycle/first-run.ts:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 * to move the app to the Applications folder. No-ops on subsequent launches.
15 */
16export async function onFirstRunMaybe() {
17 if (checkAndMarkFirstRun()) {
18 await promptMoveToApplicationsFolder();
19 }
20}
21
22/**
23 * Ask user if the app should be moved to the applications folder (macOS).

Callers 2

index.tsFile · 0.90
first-run.test.tsFile · 0.90

Calls 2

checkAndMarkFirstRunFunction · 0.85

Tested by

no test coverage detected