@lvce-editor/main-process 6.34.0 → 6.35.0
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.
- package/dist/mainProcessMain.js +3 -4
- package/package.json +1 -1
package/dist/mainProcessMain.js
CHANGED
|
@@ -6505,13 +6505,12 @@ const detach = (webContents, listener) => {
|
|
|
6505
6505
|
webContents.setWindowOpenHandler(null);
|
|
6506
6506
|
};
|
|
6507
6507
|
const handler = ({
|
|
6508
|
+
disposition,
|
|
6508
6509
|
url
|
|
6509
6510
|
}) => {
|
|
6510
|
-
|
|
6511
|
-
void openExternal(url);
|
|
6512
|
-
}
|
|
6511
|
+
const messages = shouldOpenExternal(url) ? [['handleWindowOpen', url, disposition]] : [];
|
|
6513
6512
|
return {
|
|
6514
|
-
messages
|
|
6513
|
+
messages,
|
|
6515
6514
|
result: {
|
|
6516
6515
|
action: Deny
|
|
6517
6516
|
}
|