@lvce-editor/extension-management-worker 4.75.1 → 4.75.2
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.
|
@@ -2229,7 +2229,8 @@ const getExtensionAbsolutePath = (id, isWeb, isBuiltin, path, relativePath, orig
|
|
|
2229
2229
|
return path + '/' + relativePath;
|
|
2230
2230
|
}
|
|
2231
2231
|
if (isBuiltin) {
|
|
2232
|
-
|
|
2232
|
+
const folderName = path.split(/[/\\]/).findLast(Boolean) || id;
|
|
2233
|
+
return `${assetDir}/extensions/${folderName}/${relativePath}`;
|
|
2233
2234
|
}
|
|
2234
2235
|
return new URL('/remote' + path + '/' + relativePath, origin).href;
|
|
2235
2236
|
};
|