@lvce-editor/main-process 1.3.0 → 1.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.
@@ -5,7 +5,7 @@ import { inspect } from 'node:util';
5
5
  import { spawn } from 'node:child_process';
6
6
  import { createWriteStream, readFileSync } from 'node:fs';
7
7
  import * as NodePath from 'node:path';
8
- import { dirname, join as join$1 } from 'node:path';
8
+ import { dirname } from 'node:path';
9
9
  import require$$0 from 'tty';
10
10
  import require$$1 from 'util';
11
11
  import require$$0$1 from 'os';
@@ -3770,10 +3770,10 @@ const isLinux = platform === 'linux';
3770
3770
  const isProduction = false;
3771
3771
  const homeDirectory = homedir();
3772
3772
  const applicationName = 'lvce-oss';
3773
- const xdgCache = env$1.XDG_CACHE_HOME || (homeDirectory ? join$1(homeDirectory, '.cache') : undefined);
3774
- const xdgData = env$1.XDG_DATA_HOME || (homeDirectory ? join$1(homeDirectory, '.local', 'share') : undefined);
3775
- join$1(xdgData || tmpdir(), applicationName);
3776
- const chromeUserDataPath = xdgCache ? join$1(xdgCache, applicationName, 'userdata') : '';
3773
+ const xdgCache = env$1.XDG_CACHE_HOME || (homeDirectory ? join(homeDirectory, '.cache') : undefined);
3774
+ const xdgData = env$1.XDG_DATA_HOME || (homeDirectory ? join(homeDirectory, '.local', 'share') : undefined);
3775
+ join(xdgData || tmpdir(), applicationName);
3776
+ const chromeUserDataPath = xdgCache ? join(xdgCache, applicationName, 'userdata') : '';
3777
3777
  const scheme = 'lvce-oss';
3778
3778
  const getSessionId = () => {
3779
3779
  return process.env.SESSION_ID || `persist:${scheme}`;
@@ -3782,7 +3782,7 @@ const getSharedProcessPath = () => {
3782
3782
  if (process.env.LVCE_SHARED_PROCESS_PATH) {
3783
3783
  return process.env.LVCE_SHARED_PROCESS_PATH;
3784
3784
  }
3785
- return join$1(root, 'packages', 'shared-process', 'src', 'sharedProcessMain.ts');
3785
+ return join(root, 'packages', 'shared-process', 'src', 'sharedProcessMain.ts');
3786
3786
  };
3787
3787
 
3788
3788
  const getSharedProcessArgv = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "lvce-editor",