@lvce-editor/shared-process 0.70.4 → 0.70.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.70.4",
3
+ "version": "0.70.6",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@lvce-editor/assert": "1.5.1",
21
- "@lvce-editor/extension-host-helper-process": "0.70.4",
21
+ "@lvce-editor/extension-host-helper-process": "0.70.6",
22
22
  "@lvce-editor/ipc": "14.7.0",
23
23
  "@lvce-editor/json-rpc": "7.0.0",
24
24
  "@lvce-editor/jsonc-parser": "1.5.0",
25
25
  "@lvce-editor/pretty-error": "2.0.0",
26
- "@lvce-editor/rpc-registry": "6.3.0",
26
+ "@lvce-editor/rpc-registry": "6.4.0",
27
27
  "@lvce-editor/verror": "1.7.0",
28
28
  "is-object": "^1.0.2",
29
29
  "xdg-basedir": "^5.1.0"
@@ -2,6 +2,6 @@ import { join } from 'path';
2
2
  import { fileURLToPath } from 'url';
3
3
  export const getBuiltinExtensionsPath = () => {
4
4
  const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'));
5
- const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '8c1fe09', 'extensions');
5
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', 'bdbd926', 'extensions');
6
6
  return builtinExtensionsPath;
7
7
  };
@@ -81,6 +81,8 @@ export const load = (moduleId) => {
81
81
  return import('../ElectronPowerSaveBlocker/ElectronPowerSaveBlocker.ipc.js');
82
82
  case ModuleId.Os:
83
83
  return import('../Os/Os.ipc.js');
84
+ case ModuleId.PlatformPaths:
85
+ return import('../PlatformPaths/PlatformPaths.ipc.js');
84
86
  case ModuleId.OutputChannel:
85
87
  return import('../OutputChannel/OutputChannel.ipc.js');
86
88
  case ModuleId.Performance:
@@ -75,3 +75,4 @@ export const HandleRequest = 80;
75
75
  export const HandleMessagePortForFileSystemProcess = 81;
76
76
  export const HandleMessagePortForClipBoardProcess = 82;
77
77
  export const Exec = 83;
78
+ export const PlatformPaths = 84;
@@ -187,6 +187,9 @@ export const getModuleId = (commandId) => {
187
187
  return ModuleId.GetWindowId;
188
188
  case 'Exec.exec':
189
189
  return ModuleId.Exec;
190
+ case 'PlatformPaths.getDisabledExtensionsJsonPath':
191
+ case 'PlatformPaths.getDisabledExtensionsJsonUri':
192
+ return ModuleId.PlatformPaths;
190
193
  case 'Platform.getAppDir':
191
194
  case 'Platform.getArch':
192
195
  case 'Platform.getApplicationName':
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
41
41
  export const getSetupName = () => {
42
42
  return 'Lvce-Setup';
43
43
  };
44
- export const version = '0.70.4';
45
- export const commit = '8c1fe09';
46
- export const date = '2026-01-06T09:18:56.000Z';
44
+ export const version = '0.70.6';
45
+ export const commit = 'bdbd926';
46
+ export const date = '2026-01-07T21:31:50.000Z';
47
47
  export const getVersion = () => {
48
48
  return version;
49
49
  };
@@ -10,6 +10,7 @@ export const Commands = {
10
10
  getDataDir: PlatformPaths.getDataDir,
11
11
  getDisabledExtensionsPath: PlatformPaths.getDisabledExtensionsPath,
12
12
  getDisabledExtensionsJsonPath: PlatformPaths.getDisabledExtensionsJsonPath,
13
+ getDisabledExtensionsJsonUri: PlatformPaths.getDisabledExtensionsJsonUri,
13
14
  getDownloadDir: PlatformPaths.getDownloadDir,
14
15
  getExtensionsPath: PlatformPaths.getExtensionsPath,
15
16
  getHomeDir: PlatformPaths.getHomeDir,
@@ -21,6 +21,11 @@ export const getBuiltinExtensionsPath = () => {
21
21
  export const getDisabledExtensionsJsonPath = () => {
22
22
  return Path.join(dataDir, 'extensions', 'disabled-extensions.json');
23
23
  };
24
+ export const getDisabledExtensionsJsonUri = () => {
25
+ const path = Path.join(dataDir, 'extensions', 'disabled-extensions.json');
26
+ const uri = pathToFileURL(path).toString();
27
+ return uri;
28
+ };
24
29
  /**
25
30
  * @deprecated disabled extensions are now stored in a file disabled-extensions.json
26
31
  */