增加微信小程序
All checks were successful
Plugin Library CI / publish (01.HybridCLR) (push) Successful in 4s
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 2s
Plugin Library CI / publish (05.TableTextConversion) (push) Successful in 3s
Plugin Library CI / publish (06.UIFarme) (push) Successful in 15s
Plugin Library CI / publish (07.RKTools) (push) Successful in 3s
Plugin Library CI / publish (08.UniTask) (push) Successful in 3s
Plugin Library CI / publish (10.StoryEditor) (push) Successful in 3s
Plugin Library CI / publish (10.XNode) (push) Successful in 3s
Plugin Library CI / publish (00.BuildOriginality) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvo) (push) Successful in 4s
Plugin Library CI / publish (00.StaryEvoTools) (push) Successful in 19s
Plugin Library CI / publish (09.CodeChecker) (push) Successful in 16s
Plugin Library CI / publish (11.PointCloudTools) (push) Successful in 3s

This commit is contained in:
2026-04-18 23:35:35 +08:00
parent 878bf8994d
commit 4c78ed674c
33 changed files with 1335 additions and 19 deletions

View File

@@ -76,7 +76,7 @@ namespace Stary.Evo
if (isInitSuccess)
await UpdateLocalPackage(packageRawFile);
await LoadHotfixSettings();
#elif WEB_PLAYMODE
#elif WEB_PLAYMODE || WECHAT_PLAYMODE
await WEB_PLAYMODE(package);
await UpdateLocalPackage(package);

View File

@@ -30,8 +30,14 @@ namespace Stary.Evo
{
IRemoteServices remoteServices = new RemoteServices(defaultHostServer, fallbackHostServer);
//var webServerFileSystemParams = FileSystemParameters.CreateDefaultWebServerFileSystemParameters();
var webRemoteFileSystemParams = FileSystemParameters.CreateDefaultWebRemoteFileSystemParameters(remoteServices); //支持跨域下载
#if UNITY_WEBGL&&WEB_PLAYMODE
var webRemoteFileSystemParams = FileSystemParameters.CreateDefaultWebRemoteFileSystemParameters(remoteServices); //支持跨域下载
#elif UNITY_WEBGL && WEIXINMINIGAME
string packageRoot = $"{WeChatWASM.WX.env.USER_DATA_PATH}/__GAME_FILE_CACHE";
var webRemoteFileSystemParams= WechatFileSystemCreater.CreateFileSystemParameters(packageRoot, remoteServices);
#endif
var initParameters = new WebPlayModeParameters();
//initParameters.WebServerFileSystemParameters = webRemoteFileSystemParams;
initParameters.WebRemoteFileSystemParameters = webRemoteFileSystemParams;

View File

@@ -2,18 +2,21 @@
"name": "com.staryevo.tools.runtime",
"rootNamespace": "",
"references": [
"UniTask",
"com.audiocore.runtime",
"com.stary.evo.runtime",
"Informationsave.runtime",
"DOTween.Modules",
"com.stary.buildoriginality.runtime",
"YooAsset",
"HybridCLR.Runtime"
"GUID:f51ebe6a0ceec4240a699833d6309b23",
"GUID:aa8669166ad4e984bb229dc22e7b1e02",
"GUID:d1a793c2b6959e04ea45b972eaa369c8",
"GUID:ec45849e30ba03e4dab386099d8c697b",
"GUID:fad681b9bfe621d4fa07f4f69c311443",
"GUID:8c6fa7c2cd7bf784e856d9adb3dc2ada",
"GUID:e34a5702dd353724aa315fb8011f08c3",
"GUID:13ba8ce62aa80c74598530029cb2d649",
"GUID:5efd170ecd8084500bed5692932fe14e",
"GUID:5830d4a11fa1e8f46a8e7ea664a8de75",
"GUID:839b8c2cb327b8a43afe86fd33563571"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": true,
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,