@lvce-editor/renderer-process 30.68.0 → 30.68.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1986,6 +1986,14 @@ const toggleDevtools = async () => {
|
|
|
1986
1986
|
}
|
|
1987
1987
|
await core.invoke('toggle_devtools');
|
|
1988
1988
|
};
|
|
1989
|
+
const openNewWindow = async () => {
|
|
1990
|
+
const tauriWindow = window;
|
|
1991
|
+
const core = tauriWindow.__TAURI__?.core;
|
|
1992
|
+
if (!core) {
|
|
1993
|
+
throw new Error('Tauri is not available');
|
|
1994
|
+
}
|
|
1995
|
+
await core.invoke('open_new_window');
|
|
1996
|
+
};
|
|
1989
1997
|
|
|
1990
1998
|
const getConfiguredDragAndDropWorkerUrl = () => {
|
|
1991
1999
|
const workerUrls = getConfiguredWorkerUrl('workerUrls');
|
|
@@ -12009,6 +12017,7 @@ const commandMap = {
|
|
|
12009
12017
|
'SessionReplay.getStatus': getStatus$1,
|
|
12010
12018
|
'SessionReplay.openLocalFile': openLocalFile,
|
|
12011
12019
|
'Tauri.isAvailable': isAvailable,
|
|
12020
|
+
'Tauri.openNewWindow': openNewWindow,
|
|
12012
12021
|
'Tauri.toggleDevtools': toggleDevtools,
|
|
12013
12022
|
'TestFrameWork.checkConditionError': checkConditionError,
|
|
12014
12023
|
'TestFrameWork.checkMultiElementCondition': checkMultiElementCondition,
|