@lvce-editor/shared-process 0.95.10 → 0.95.11
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 +2 -2
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/FirefoxCookieImport/FirefoxCookieImport.ipc.js +8 -0
- package/src/parts/FirefoxCookieImport/FirefoxCookieImport.js +9 -0
- package/src/parts/Module/Module.js +2 -0
- package/src/parts/ModuleId/ModuleId.js +1 -0
- package/src/parts/ModuleMap/ModuleMap.js +3 -0
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PreloadUrl/PreloadUrl.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.95.
|
|
3
|
+
"version": "0.95.11",
|
|
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.7.0",
|
|
21
|
-
"@lvce-editor/extension-host-helper-process": "0.95.
|
|
21
|
+
"@lvce-editor/extension-host-helper-process": "0.95.11",
|
|
22
22
|
"@lvce-editor/ipc": "16.6.0",
|
|
23
23
|
"@lvce-editor/json-rpc": "8.5.0",
|
|
24
24
|
"@lvce-editor/jsonc-parser": "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', 'ecadf24', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as MainProcess from '../MainProcess/MainProcess.js'
|
|
2
|
+
|
|
3
|
+
export const getInfo = () => {
|
|
4
|
+
return MainProcess.invoke('FirefoxCookieImport.getInfo')
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const importCookies = () => {
|
|
8
|
+
return MainProcess.invoke('FirefoxCookieImport.importCookies')
|
|
9
|
+
}
|
|
@@ -64,6 +64,8 @@ export const load = (moduleId) => {
|
|
|
64
64
|
return import('../FileSystemDisk/FileSystemDisk.ipc.js')
|
|
65
65
|
case ModuleId.FileWatcher:
|
|
66
66
|
return import('../FileWatcher/FileWatcher.ipc.js')
|
|
67
|
+
case ModuleId.FirefoxCookieImport:
|
|
68
|
+
return import('../FirefoxCookieImport/FirefoxCookieImport.ipc.js')
|
|
67
69
|
case ModuleId.GetElectronFileResponse:
|
|
68
70
|
return import('../GetElectronFileResponse/GetElectronFileResponse.ipc.js')
|
|
69
71
|
case ModuleId.GetExtensions:
|
|
@@ -154,6 +154,9 @@ export const getModuleId = (commandId) => {
|
|
|
154
154
|
case 'FileWatcher.watch':
|
|
155
155
|
case 'FileWatcher.watchFile2':
|
|
156
156
|
return ModuleId.FileWatcher
|
|
157
|
+
case 'FirefoxCookieImport.getInfo':
|
|
158
|
+
case 'FirefoxCookieImport.importCookies':
|
|
159
|
+
return ModuleId.FirefoxCookieImport
|
|
157
160
|
case 'GetElectronFileResponse.getElectronFileResponse':
|
|
158
161
|
return ModuleId.GetElectronFileResponse
|
|
159
162
|
case 'GetExtensions.getExtensions':
|
|
@@ -61,11 +61,11 @@ export const getSetupName = () => {
|
|
|
61
61
|
return 'Lvce-Setup'
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export const version = '0.95.
|
|
64
|
+
export const version = '0.95.11'
|
|
65
65
|
|
|
66
|
-
export const commit = '
|
|
66
|
+
export const commit = 'ecadf24'
|
|
67
67
|
|
|
68
|
-
export const date = '2026-
|
|
68
|
+
export const date = '2026-08-01T03:04:00.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', 'ecadf24', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|