@lvce-editor/renderer-process 24.5.0 → 24.6.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.
|
@@ -3686,8 +3686,12 @@ const hide = (restoreFocus = true) => {
|
|
|
3686
3686
|
}
|
|
3687
3687
|
};
|
|
3688
3688
|
|
|
3689
|
-
const openUrl = url => {
|
|
3690
|
-
|
|
3689
|
+
const openUrl = (url, useRedirect = false) => {
|
|
3690
|
+
if (useRedirect) {
|
|
3691
|
+
window.location.href = url;
|
|
3692
|
+
} else {
|
|
3693
|
+
window.open(url);
|
|
3694
|
+
}
|
|
3691
3695
|
};
|
|
3692
3696
|
|
|
3693
3697
|
const isElectronUserAgentSpecificMemoryError = error => {
|