mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
8c82cbde79
commit
c95d2cec18
1 file changed
+6
-2
@@ -244,8 +244,8 @@ export const getApplicationBuilder = () => {
|
||||
return {
|
||||
show: () => {},
|
||||
close: () => {},
|
||||
loadFile: async () => {},
|
||||
loadUrl: async () => {
|
||||
loadFile: async (filePath) => {
|
||||
if (filePath === "/some-static-directory/build/some-product-name.html") {
|
||||
for (const callback of beforeWindowStartCallbacks) {
|
||||
await callback(windowDi);
|
||||
}
|
||||
@@ -267,6 +267,10 @@ export const getApplicationBuilder = () => {
|
||||
<environment.RootComponent />
|
||||
</Router>,
|
||||
);
|
||||
}
|
||||
},
|
||||
loadUrl: async () => {
|
||||
throw new Error("Loading from URL is no longer supported");
|
||||
},
|
||||
|
||||
send: (arg) => {
|
||||
|
||||
Reference in new issue
Block a user