1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/main
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
..
__test__ Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
catalog Support filtering catalog entities (#3647) 2021-08-31 16:00:56 +03:00
catalog-sources Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
cluster-detectors Detect rancher desktop (#3711) 2021-09-01 16:32:10 +03:00
helm Update helm cache if files have been modified (#3973) 2021-10-20 08:50:52 -04:00
initializers Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
prometheus Fix prometheus operator support (#3653) 2021-10-05 12:35:57 -04:00
protocol-handler Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
proxy-functions Inject handlers into LensProxy to remove circular-deps (#3546) 2021-08-04 19:18:01 -04:00
routes improved port-forward error reporting (#4155) 2021-10-27 18:19:03 -04:00
shell-session Fix node shell secret pulling (#3668) 2021-09-01 12:49:00 +03:00
utils Fix auto-update channel checking and pinning (#4030) 2021-10-13 14:48:47 -04:00
app-updater.ts Close windows before trying to update (#4142) 2021-10-26 14:38:08 -04:00
catalog-pusher.ts Add context menu entry for deleting local clusters (#2923) 2021-06-17 12:19:22 -04:00
cluster-manager.ts Remove ClusterStore.removedClusters and correctly delete lens storage file (#4077) 2021-10-20 08:51:26 -04:00
cluster.ts Fix accessible namespaces notification not navigating to correct settings (#4048) 2021-10-15 09:06:24 -04:00
context-handler.ts use random api prefix on kubectl-proxy (#4137) 2021-10-26 14:59:36 +03:00
developer-tools.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
exit-app.ts Upgrade to electron 12 and Node 14 (#3572) 2021-08-26 12:13:31 -04:00
extension-filesystem.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
index.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
k8s-request.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
kube-auth-proxy.ts use random api prefix on kubectl-proxy (#4137) 2021-10-26 14:59:36 +03:00
kubeconfig-manager.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
kubectl_spec.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
kubectl.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
lens-binary.ts Support MacOS arm64 build (#3682) 2021-08-26 14:46:46 -04:00
lens-proxy.ts remove cors headers from LensProxy (#4126) 2021-10-25 17:42:28 +03:00
logger.ts Refactor k8s api to common (#3553) 2021-08-10 13:26:14 +03:00
menu.ts Closing dock tabs with cmd+w on mac (#3849) 2021-10-11 10:06:43 +03:00
promise-exec.ts Add context menu entry for deleting local clusters (#2923) 2021-06-17 12:19:22 -04:00
proxy-env.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
resource-applier.ts Upgrade js-yaml to 4.X (#3623) 2021-10-18 10:03:10 -04:00
router.ts Feature/port forward dashboard (#3922) 2021-10-07 15:51:26 -04:00
shell-sync.ts Fix shell-env timeout (#2938) 2021-06-09 14:54:19 -04:00
tray.ts Fix spelling (#3181) 2021-07-16 08:53:01 -04:00
window-manager.ts Electron 13.4.0 (#3820) 2021-09-27 11:32:37 +03:00