Skip to content

Commit 3c98d02

Browse files
author
Tushar Sonawane
committed
fix: build
1 parent 7704501 commit 3c98d02

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

samples/default-meeting-ui-react-with-deep-links/electron/main/index.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
import { app, BrowserWindow, shell, ipcMain, dialog, desktopCapturer } from 'electron';
1+
import {
2+
app,
3+
BrowserWindow,
4+
shell,
5+
ipcMain,
6+
dialog,
7+
desktopCapturer,
8+
} from 'electron';
29
import { release } from 'node:os';
310
import { join, resolve } from 'node:path';
411
import { APP_PROTOCOL } from '../config';
@@ -149,7 +156,7 @@ app.on('open-url', (event, url) => {
149156
// Open devTool if the app is not packaged
150157
// win.webContents.openDevTools();
151158
} else {
152-
win.loadFile(indexHtml + params);
159+
win.loadFile(indexHtml, { search: u.search });
153160
}
154161

155162
// dialog.showErrorBox('Welcome Back', `You arrived from: ${url}`);

samples/default-meeting-ui-react-with-deep-links/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"@dytesdk/electron-main": "^1.1.0",
4040
"@dytesdk/electron-preload": "^1.1.0",
4141
"@dytesdk/react-ui-kit": "^1.53.1",
42-
"@dytesdk/react-web-core": "^1.33.3"
42+
"@dytesdk/react-web-core": "^1.33.3",
43+
"@nut-tree/nut-js": ">=2.1.0"
4344
}
4445
}

0 commit comments

Comments
 (0)