@lvce-editor/main-process 1.2.0 → 1.3.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 +5 -5
- package/package.json +1 -1
package/dist/mainProcessMain.js
CHANGED
|
@@ -3755,8 +3755,12 @@ const getPortTuple = () => {
|
|
|
3755
3755
|
};
|
|
3756
3756
|
};
|
|
3757
3757
|
|
|
3758
|
+
const join = (...paths) => {
|
|
3759
|
+
return NodePath.join(...paths);
|
|
3760
|
+
};
|
|
3761
|
+
|
|
3758
3762
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
3759
|
-
const root = process.env.LVCE_ROOT || join
|
|
3763
|
+
const root = process.env.LVCE_ROOT || join(__dirname, '../../../../..');
|
|
3760
3764
|
|
|
3761
3765
|
const {
|
|
3762
3766
|
env: env$1,
|
|
@@ -9041,10 +9045,6 @@ const ElectronWebContentsView_ipc = {
|
|
|
9041
9045
|
name: name$5
|
|
9042
9046
|
};
|
|
9043
9047
|
|
|
9044
|
-
const join = (...paths) => {
|
|
9045
|
-
return NodePath.join(...paths);
|
|
9046
|
-
};
|
|
9047
|
-
|
|
9048
9048
|
const webContentsViewErrorPath = join(root, 'packages', 'main-process', 'pages', 'error', 'error.html');
|
|
9049
9049
|
|
|
9050
9050
|
// TODO create output channel for browser view debug logs
|