@lvce-editor/main-process 4.2.0 → 4.4.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.
@@ -3388,7 +3388,7 @@ const xdgData = env.XDG_DATA_HOME || (homeDirectory ? join(homeDirectory, '.loca
3388
3388
  join(xdgData || tmpdir(), applicationName);
3389
3389
  const chromeUserDataPath = xdgCache ? join(xdgCache, applicationName, 'userdata') : '';
3390
3390
 
3391
- const useIpcForResponse = false;
3391
+ const useIpcForResponse = true;
3392
3392
  const getSessionId = () => {
3393
3393
  return process.env.SESSION_ID || `persist:${scheme}`;
3394
3394
  };
@@ -4231,7 +4231,7 @@ const getElectronFileResponseIpc = async (url, request) => {
4231
4231
  };
4232
4232
 
4233
4233
  const getElectronFileResponse = async (url, request) => {
4234
- if (useIpcForResponse()) {
4234
+ if (useIpcForResponse) {
4235
4235
  return getElectronFileResponseIpc(url, request);
4236
4236
  }
4237
4237
  return getElectronFileResponseConfig(url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "4.2.0",
3
+ "version": "4.4.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "electron"