@lvce-editor/shared-process 0.70.17 → 0.70.18

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.17",
3
+ "version": "0.70.18",
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.5.1",
21
- "@lvce-editor/extension-host-helper-process": "0.70.17",
21
+ "@lvce-editor/extension-host-helper-process": "0.70.18",
22
22
  "@lvce-editor/ipc": "14.7.0",
23
23
  "@lvce-editor/json-rpc": "7.2.0",
24
24
  "@lvce-editor/jsonc-parser": "1.5.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', '95afb74', 'extensions');
5
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '4323263', '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.70.17';
45
- export const commit = '95afb74';
46
- export const date = '2026-01-15T10:47:59.000Z';
44
+ export const version = '0.70.18';
45
+ export const commit = '4323263';
46
+ export const date = '2026-01-16T10:59:54.000Z';
47
47
  export const getVersion = () => {
48
48
  return version;
49
49
  };
@@ -7,6 +7,7 @@ import * as Platform from '../Platform/Platform.js';
7
7
  import * as Process from '../Process/Process.js';
8
8
  import * as Root from '../Root/Root.js';
9
9
  const { env } = process;
10
+ // TODO make these functions
10
11
  export const dataDir = Path.join(xdgData || tmpdir(), Platform.applicationName);
11
12
  export const configDir = Path.join(xdgConfig || tmpdir(), Platform.applicationName);
12
13
  export const cacheDir = Path.join(xdgCache || tmpdir(), Platform.applicationName);
@@ -54,7 +55,8 @@ export const getStateDir = () => {
54
55
  return xdgState;
55
56
  };
56
57
  export const getLogsDir = () => {
57
- return Path.join(xdgState || tmpdir(), Platform.applicationName, 'logs');
58
+ const path = Path.join(xdgState || tmpdir(), Platform.applicationName, 'logs');
59
+ return pathToFileURL(path).toString();
58
60
  };
59
61
  export const getUserSettingsPath = () => {
60
62
  return Path.join(configDir, 'settings.json');