@lvce-editor/shared-process 0.63.2 → 0.64.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.63.2",
3
+ "version": "0.64.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@lvce-editor/assert": "1.4.0",
21
- "@lvce-editor/extension-host-helper-process": "0.63.2",
21
+ "@lvce-editor/extension-host-helper-process": "0.64.0",
22
22
  "@lvce-editor/ipc": "14.5.0",
23
23
  "@lvce-editor/json-rpc": "7.0.0",
24
24
  "@lvce-editor/jsonc-parser": "1.5.0",
@@ -1,20 +1,3 @@
1
- import * as GetCustomPathsConfig from '../GetCustomPathsConfig/GetCustomPathsConfig.js';
2
- import * as Platform from '../Platform/Platform.js';
3
- import * as Preferences from '../Preferences/Preferences.js';
4
1
  export const addCustomPathsToIndexHtml = async (content) => {
5
- if (Platform.isProduction) {
6
- return content;
7
- }
8
- const preferences = await Preferences.getUserPreferences();
9
- const config = GetCustomPathsConfig.getCustomPathsConfig(preferences);
10
- let newContent = content;
11
- if (config.rendererProcessPath) {
12
- newContent = newContent
13
- .toString()
14
- .replace('/packages/renderer-worker/node_modules/@lvce-editor/renderer-process/dist/rendererProcessMain.js', config.rendererProcessPath);
15
- }
16
- const stringifiedConfig = JSON.stringify(config, null, 2);
17
- newContent = newContent.toString().replace('</title>', `</title>
18
- <script type="application/json" id="Config">${stringifiedConfig}</script>`);
19
- return newContent;
2
+ return content;
20
3
  };
@@ -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', '5dec7e3', 'extensions');
5
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', 'd6e84ec', 'extensions');
6
6
  return builtinExtensionsPath;
7
7
  };
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
41
41
  export const getSetupName = () => {
42
42
  return 'Lvce-Setup';
43
43
  };
44
- export const version = '0.63.2';
45
- export const commit = '5dec7e3';
46
- export const date = '2025-10-27T11:07:24.000Z';
44
+ export const version = '0.64.0';
45
+ export const commit = 'd6e84ec';
46
+ export const date = '2025-10-28T16:25:49.000Z';
47
47
  export const getVersion = () => {
48
48
  return version;
49
49
  };