Skip to content

Commit

Permalink
nit - Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered committed Nov 24, 2024
1 parent f4c1d6a commit c71da75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main-process/appWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ export class AppWindow {
}

/**
* Load the window settings or `die()` trying.
* @returns The electron store file for transient window config
* Loads window state from `userData` via `electron-store`. Overwrites invalid config with defaults.
* @returns The electron store for non-critical window state (size/position etc)
* @throws Rethrows errors received from `electron-store` and `app.getPath('userData')`.
* There are edge cases where this might not be a catastrophic failure, but inability
* to write to our own datastore may result in unexpected user data loss.
Expand Down

0 comments on commit c71da75

Please sign in to comment.