@lvce-editor/shared-process 0.26.3 → 0.26.4
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 +4 -4
- package/src/parts/ElectronWindowProcessExplorer/ElectronWindowProcessExplorer.js +2 -2
- package/src/parts/GetBrowserWindowOptions/GetBrowserWindowOptions.js +2 -2
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PreloadUrl/PreloadUrl.js +3 -0
- package/src/parts/GetPreloadUrl/GetPreloadUrl.js +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.4",
|
|
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.2.0",
|
|
21
|
-
"@lvce-editor/extension-host-helper-process": "0.26.
|
|
22
|
-
"@lvce-editor/ipc": "^
|
|
21
|
+
"@lvce-editor/extension-host-helper-process": "0.26.4",
|
|
22
|
+
"@lvce-editor/ipc": "^8.0.0",
|
|
23
23
|
"@lvce-editor/json-rpc": "^1.3.0",
|
|
24
24
|
"@lvce-editor/jsonc-parser": "^1.2.0",
|
|
25
25
|
"@lvce-editor/pretty-error": "^1.5.0",
|
|
26
|
-
"@lvce-editor/pty-host": "0.26.
|
|
26
|
+
"@lvce-editor/pty-host": "0.26.4",
|
|
27
27
|
"@lvce-editor/verror": "^1.2.0",
|
|
28
28
|
"@lvce-editor/web-socket-server": "^1.1.0",
|
|
29
29
|
"debug": "^4.3.4",
|
|
@@ -2,12 +2,12 @@ import { writeFile } from 'node:fs/promises';
|
|
|
2
2
|
import { tmpdir } from 'node:os';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import * as ColorTheme from '../ColorTheme/ColorTheme.js';
|
|
5
|
-
import * as
|
|
5
|
+
import * as PreloadUrl from '../PreloadUrl/PreloadUrl.js';
|
|
6
6
|
import * as GetProcessExplorerUrl from '../GetProcessExplorerUrl/GetProcessExplorerUrl.js';
|
|
7
7
|
import * as ParentIpc from '../ParentIpc/ParentIpc.js';
|
|
8
8
|
const getOptions = async (colorThemeJson) => {
|
|
9
9
|
const backgroundColor = colorThemeJson.MainBackground;
|
|
10
|
-
const preload =
|
|
10
|
+
const preload = PreloadUrl.preloadUrl;
|
|
11
11
|
const options = {
|
|
12
12
|
width: 800,
|
|
13
13
|
height: 500,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as GetIcon from '../GetIcon/GetIcon.js';
|
|
2
|
-
import * as
|
|
2
|
+
import * as PreloadUrl from '../PreloadUrl/PreloadUrl.js';
|
|
3
3
|
/**
|
|
4
4
|
*
|
|
5
5
|
* @returns {any}
|
|
@@ -21,7 +21,7 @@ export const getBrowserWindowOptions = ({ x, y, width, height, titleBarStyle, ti
|
|
|
21
21
|
sandbox: true,
|
|
22
22
|
contextIsolation: true,
|
|
23
23
|
v8CacheOptions: 'bypassHeatCheck', // TODO this is what vscode uses, but it doesn't work properly in electron https://github.com/electron/electron/issues/27075
|
|
24
|
-
preload:
|
|
24
|
+
preload: PreloadUrl.preloadUrl,
|
|
25
25
|
additionalArguments: ['--lvce-window-kind'],
|
|
26
26
|
},
|
|
27
27
|
backgroundColor: background,
|
|
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
|
|
|
41
41
|
export const getSetupName = () => {
|
|
42
42
|
return 'Lvce-Setup';
|
|
43
43
|
};
|
|
44
|
-
export const version = '0.26.
|
|
45
|
-
export const commit = '
|
|
46
|
-
export const date = '2024-04-
|
|
44
|
+
export const version = '0.26.4';
|
|
45
|
+
export const commit = '59e174c';
|
|
46
|
+
export const date = '2024-04-28T08:40:44.000Z';
|
|
47
47
|
export const getVersion = () => {
|
|
48
48
|
return version;
|
|
49
49
|
};
|