1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/migrations/user-store
Sebastian Malton f297407156
Stop using @electron/remote to obtain app.getPath() (#4078)
* Stop using remote to obtain app.getPath()

- Initialize entire map in bootstrap()

- Updated unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Resolve PR comments

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix test

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix build

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Ensure that init can only be called once and catch errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Replace basically all uses of app.getPath() with AppPaths.get()

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-27 21:07:41 -04:00
..
2.1.0-beta.4.ts Make CatalogEntity labels clickable (#3075) 2021-06-18 08:44:28 -04:00
5.0.0-alpha.3.ts Make CatalogEntity labels clickable (#3075) 2021-06-18 08:44:28 -04:00
5.0.3-beta.1.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
file-name-migration.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
index.ts Automatically sync all kubeConfigPaths (#3227) 2021-07-07 16:29:58 -04:00