@lvce-editor/shared-process 0.115.14 → 0.115.15
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 +1 -0
- package/package.json +1 -1
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/GetMimeType/GetMimeType.js +10 -0
- package/src/parts/MimeType/MimeType.js +2 -0
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/PreloadUrl/PreloadUrl.js +1 -1
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"simpleBrowser.audioIndicator.enabled": true,
|
|
57
57
|
"simpleBrowser.chromeTheme": "light",
|
|
58
58
|
"simpleBrowser.fullWidth.doubleControlEnabled": true,
|
|
59
|
+
"simpleBrowser.fullWidth.hideTitleBar": false,
|
|
59
60
|
"simpleBrowser.suggestions": false,
|
|
60
61
|
"simpleBrowser.shortcuts": [],
|
|
61
62
|
"simpleBrowser.tabHover.enabled": false,
|
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', 'ffe336a', 'extensions')
|
|
7
7
|
return builtinExtensionsPath
|
|
8
8
|
}
|
|
@@ -36,6 +36,14 @@ export const getMimeType = (fileExtension) => {
|
|
|
36
36
|
return MimeType.Markdown
|
|
37
37
|
case '.mp3':
|
|
38
38
|
return MimeType.AudioMpeg
|
|
39
|
+
case '.mp4':
|
|
40
|
+
return MimeType.VideoMp4
|
|
41
|
+
case '.oga':
|
|
42
|
+
case '.ogg':
|
|
43
|
+
case '.opus':
|
|
44
|
+
return MimeType.AudioOgg
|
|
45
|
+
case '.ogv':
|
|
46
|
+
return MimeType.VideoOgg
|
|
39
47
|
case '.png':
|
|
40
48
|
return MimeType.ImagePng
|
|
41
49
|
case '.svg':
|
|
@@ -45,6 +53,8 @@ export const getMimeType = (fileExtension) => {
|
|
|
45
53
|
return MimeType.ImageTiff
|
|
46
54
|
case '.ttf':
|
|
47
55
|
return MimeType.FontTtf
|
|
56
|
+
case '.wav':
|
|
57
|
+
return MimeType.AudioWav
|
|
48
58
|
case '.webm':
|
|
49
59
|
return MimeType.VideoWebm
|
|
50
60
|
case '.webp':
|
|
@@ -4,6 +4,7 @@ export const AudioMidi = 'audio/midi'
|
|
|
4
4
|
export const AudioMpeg = 'audio/mpeg'
|
|
5
5
|
export const AudioOgg = 'audio/ogg'
|
|
6
6
|
export const AudioOpus = 'audio/opus'
|
|
7
|
+
export const AudioWav = 'audio/wav'
|
|
7
8
|
export const AudioXaac = 'audio/x-aac'
|
|
8
9
|
export const AudioXMsWma = 'audio/x-ms-wma'
|
|
9
10
|
export const AudioXWav = 'audio/x-wav'
|
|
@@ -31,6 +32,7 @@ export const TextPlain = 'text/plain'
|
|
|
31
32
|
export const TextXml = 'text/xml'
|
|
32
33
|
export const VideoMp4 = 'video/mp4'
|
|
33
34
|
export const VideoMpeg = 'video/mpeg'
|
|
35
|
+
export const VideoOgg = 'video/ogg'
|
|
34
36
|
export const VideoQuickTime = 'video/quicktime'
|
|
35
37
|
export const VideoWebm = 'video/webm'
|
|
36
38
|
export const VideoXFlv = 'video/x-flv'
|
|
@@ -56,11 +56,11 @@ export const getSetupName = () => {
|
|
|
56
56
|
return 'Lvce-Setup'
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export const version = '0.115.
|
|
59
|
+
export const version = '0.115.15'
|
|
60
60
|
|
|
61
|
-
export const commit = '
|
|
61
|
+
export const commit = 'ffe336a'
|
|
62
62
|
|
|
63
|
-
export const date = '2026-09-
|
|
63
|
+
export const date = '2026-09-15T22:03:38.000Z'
|
|
64
64
|
|
|
65
65
|
export const getVersion = () => {
|
|
66
66
|
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', 'ffe336a', 'packages', 'preload', 'dist', 'index.js')
|
|
6
6
|
}
|