(workspaceId: string)
| 684 | } |
| 685 | |
| 686 | export async function createWindowForWorkspace(workspaceId: string) { |
| 687 | const newWin = await WindowService.CreateWindow(null, workspaceId); |
| 688 | if (!newWin) { |
| 689 | console.log("error creating new window", this.waveWindowId); |
| 690 | } |
| 691 | const newBwin = await createBrowserWindow(newWin, await RpcApi.GetFullConfigCommand(ElectronWshClient), { |
| 692 | unamePlatform, |
| 693 | isPrimaryStartupWindow: false, |
| 694 | }); |
| 695 | newBwin.show(); |
| 696 | } |
| 697 | |
| 698 | // note, this does not *show* the window. |
| 699 | // to show, await win.readyPromise and then win.show() |
no test coverage detected