@lvce-editor/shared-process 0.108.24 → 0.109.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 +1 -1
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/GetHelpString/GetHelpString.js +2 -1
- package/src/parts/HandleElectronReady/HandleElectronReady.js +3 -1
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PreloadUrl/PreloadUrl.js +1 -1
package/package.json
CHANGED
|
@@ -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', 'b175bc0', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -7,7 +7,8 @@ Usage:
|
|
|
7
7
|
${Platform.applicationName} [path]
|
|
8
8
|
|
|
9
9
|
Extension development:
|
|
10
|
-
--link <path>
|
|
10
|
+
--link <path> Link an extension for this run. May be repeated.
|
|
11
|
+
--start-dev-server Run npm run dev in linked extension folders.
|
|
11
12
|
--hot-reload Restart linked extensions when their files change.
|
|
12
13
|
|
|
13
14
|
Diagnostics:
|
|
@@ -13,7 +13,9 @@ export const handleElectronReady = async (parsedArgs, workingDirectory) => {
|
|
|
13
13
|
Assert.string(workingDirectory)
|
|
14
14
|
try {
|
|
15
15
|
const links = await TransientLinkedExtensions.validate()
|
|
16
|
-
|
|
16
|
+
if (parsedArgs['start-dev-server'] === true) {
|
|
17
|
+
await LinkedExtensionDevServers.startDevServers(links)
|
|
18
|
+
}
|
|
17
19
|
} catch (error) {
|
|
18
20
|
Logger.error(error)
|
|
19
21
|
Process.exit(ExitCode.Error)
|
|
@@ -61,11 +61,11 @@ export const getSetupName = () => {
|
|
|
61
61
|
return 'Lvce-Setup'
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export const version = '0.
|
|
64
|
+
export const version = '0.109.0'
|
|
65
65
|
|
|
66
|
-
export const commit = '
|
|
66
|
+
export const commit = 'b175bc0'
|
|
67
67
|
|
|
68
|
-
export const date = '2026-08-
|
|
68
|
+
export const date = '2026-08-25T09:15:02.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', 'b175bc0', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|