@lvce-editor/shared-process 0.86.2 → 0.86.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/config/defaultSettings.json +5 -5
- package/package.json +5 -5
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/Developer/Developer.ipc.js +1 -0
- package/src/parts/Developer/Developer.js +5 -0
- package/src/parts/LaunchProcessExplorer/LaunchProcessExplorer.js +0 -2
- package/src/parts/ModuleMap/ModuleMap.js +1 -0
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PreloadUrl/PreloadUrl.js +1 -1
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"files.autoSave": "off",
|
|
23
23
|
|
|
24
24
|
"files.exclude": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"Thumbs.db": true
|
|
25
|
+
"**/.git": true,
|
|
26
|
+
"**/.svn": true,
|
|
27
|
+
"**/.hg": true,
|
|
28
|
+
"**/.DS_Store": true,
|
|
29
|
+
"**/Thumbs.db": true
|
|
30
30
|
},
|
|
31
31
|
|
|
32
32
|
"languages.jsFilesAsJsx": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.86.
|
|
3
|
+
"version": "0.86.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@lvce-editor/assert": "1.7.0",
|
|
21
|
-
"@lvce-editor/auth-process": "1.
|
|
22
|
-
"@lvce-editor/extension-host-helper-process": "0.86.
|
|
21
|
+
"@lvce-editor/auth-process": "1.8.0",
|
|
22
|
+
"@lvce-editor/extension-host-helper-process": "0.86.4",
|
|
23
23
|
"@lvce-editor/ipc": "16.2.0",
|
|
24
24
|
"@lvce-editor/json-rpc": "8.2.0",
|
|
25
25
|
"@lvce-editor/jsonc-parser": "1.5.0",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"xdg-basedir": "^5.1.0"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@lvce-editor/embeds-process": "4.
|
|
35
|
-
"@lvce-editor/file-system-process": "5.
|
|
34
|
+
"@lvce-editor/embeds-process": "4.6.0",
|
|
35
|
+
"@lvce-editor/file-system-process": "5.3.0",
|
|
36
36
|
"@lvce-editor/file-watcher-process": "4.1.0",
|
|
37
37
|
"@lvce-editor/network-process": "5.2.0",
|
|
38
38
|
"@lvce-editor/preload": "1.5.0",
|
|
@@ -3,6 +3,6 @@ import { fileURLToPath } from 'url'
|
|
|
3
3
|
|
|
4
4
|
export const getBuiltinExtensionsPath = () => {
|
|
5
5
|
const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'))
|
|
6
|
-
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '
|
|
6
|
+
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', 'c377d49', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -10,4 +10,5 @@ export const Commands = {
|
|
|
10
10
|
'Developer.createProfile': CpuProfile.createProfile,
|
|
11
11
|
'Developer.sharedProcessMemoryUsage': Developer.sharedProcessMemoryUsage,
|
|
12
12
|
'Developer.sharedProcessStartupPerformance': Developer.sharedProcessStartupPerformance,
|
|
13
|
+
'Developer.showGpuInfo': Developer.showGpuInfo,
|
|
13
14
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as MainProcess from '../MainProcess/MainProcess.js'
|
|
1
2
|
import * as Process from '../Process/Process.js'
|
|
2
3
|
|
|
3
4
|
export const measureLatencyBetweenExtensionHostAndSharedProcess = async (socket, id) => {
|
|
@@ -29,6 +30,10 @@ export const sharedProcessMemoryUsage = () => {
|
|
|
29
30
|
return Process.memoryUsage()
|
|
30
31
|
}
|
|
31
32
|
|
|
33
|
+
export const showGpuInfo = () => {
|
|
34
|
+
return MainProcess.invoke('ElectronWindowGpuInfo.open')
|
|
35
|
+
}
|
|
36
|
+
|
|
32
37
|
// TODO not sure if this is actually useful
|
|
33
38
|
|
|
34
39
|
/* istanbul ignore next */
|
|
@@ -6,7 +6,6 @@ import * as LaunchProcess from '../LaunchProcess/LaunchProcess.js'
|
|
|
6
6
|
import * as ProcessExplorerPath from '../ProcessExplorerPath/ProcessExplorerPath.js'
|
|
7
7
|
|
|
8
8
|
export const launchProcessExplorer = async () => {
|
|
9
|
-
console.log('will start process explorer')
|
|
10
9
|
const ipc = await LaunchProcess.launchProcess({
|
|
11
10
|
name: 'Process Explorer',
|
|
12
11
|
defaultPath: ProcessExplorerPath.processExplorerPath,
|
|
@@ -18,6 +17,5 @@ export const launchProcessExplorer = async () => {
|
|
|
18
17
|
await ConnectIpcToElectron.connectIpcToElectron(ipc, IpcId.ProcessExplorerRenderer)
|
|
19
18
|
}
|
|
20
19
|
HandleIpc.unhandleIpc(ipc)
|
|
21
|
-
console.log('did start process explorer')
|
|
22
20
|
return ipc
|
|
23
21
|
}
|
|
@@ -36,6 +36,7 @@ export const getModuleId = (commandId) => {
|
|
|
36
36
|
case 'Developer.createProfile':
|
|
37
37
|
case 'Developer.sharedProcessMemoryUsage':
|
|
38
38
|
case 'Developer.sharedProcessStartupPerformance':
|
|
39
|
+
case 'Developer.showGpuInfo':
|
|
39
40
|
return ModuleId.Developer
|
|
40
41
|
case 'Download.download':
|
|
41
42
|
return ModuleId.Download
|
|
@@ -61,11 +61,11 @@ export const getSetupName = () => {
|
|
|
61
61
|
return 'Lvce-Setup'
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export const version = '0.86.
|
|
64
|
+
export const version = '0.86.4'
|
|
65
65
|
|
|
66
|
-
export const commit = '
|
|
66
|
+
export const commit = 'c377d49'
|
|
67
67
|
|
|
68
|
-
export const date = '2026-07-
|
|
68
|
+
export const date = '2026-07-10T14:44:18.000Z'
|
|
69
69
|
|
|
70
70
|
export const getVersion = () => {
|
|
71
71
|
return version
|
|
@@ -2,5 +2,5 @@ import { join } from 'node:path'
|
|
|
2
2
|
import * as Root from '../Root/Root.js'
|
|
3
3
|
|
|
4
4
|
export const getPreloadUrl = () => {
|
|
5
|
-
return join(Root.root, 'static', '
|
|
5
|
+
return join(Root.root, 'static', 'c377d49', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|