11
All checks were successful
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 3s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 19s
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 5s
Plugin Library CI / publish (02.InformationSave) (push) Successful in 3s
Plugin Library CI / publish (03.YooAsset) (push) Successful in 33s
Plugin Library CI / publish (04.AudioCore) (push) Successful in 3s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 4s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 16s
Plugin Library CI / publish (07.RKTools) (push) Successful in 3s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 2s
Plugin Library CI / publish (10.XNode) (push) Successful in 2s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 2s

This commit is contained in:
2026-04-17 14:42:49 +08:00
parent 7eec0f9f91
commit b45348d0fa
3 changed files with 35 additions and 7 deletions

View File

@@ -29,13 +29,14 @@ namespace Stary.Evo
public static InitializeParameters WebInitializeParameter(string packageName)
{
var cacheFileSystemParams = FileSystemParameters.CreateDefaultBuildinFileSystemParameters(null,
$"{Application.persistentDataPath}/DownloadedContent/{packageName}");
cacheFileSystemParams.AddParameter(FileSystemParametersDefine.APPEND_FILE_EXTENSION, true);
cacheFileSystemParams.AddParameter(FileSystemParametersDefine.COPY_BUILDIN_PACKAGE_MANIFEST, true);
var webServerFileSystemParams = FileSystemParameters.CreateDefaultWebServerFileSystemParameters();
// var cacheFileSystemParams = FileSystemParameters.CreateDefaultBuildinFileSystemParameters(null,
// $"{Application.persistentDataPath}/DownloadedContent/{packageName}");
webServerFileSystemParams.AddParameter(FileSystemParametersDefine.APPEND_FILE_EXTENSION, true);
webServerFileSystemParams.AddParameter(FileSystemParametersDefine.COPY_BUILDIN_PACKAGE_MANIFEST, true);
var initParameters = new WebPlayModeParameters();
initParameters.WebServerFileSystemParameters = cacheFileSystemParams;
initParameters.WebServerFileSystemParameters = webServerFileSystemParams;
return initParameters;
}
public static InitializeParameters EditorSimulateInitializeParameter(string packageName)