Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28bedbb72c
|
||
|
|
cc2763413b
|
||
|
|
123bd170d9
|
No files matched your search
@@ -63,7 +63,8 @@ jobs:
|
||||
const release = metadata.releases.find(item => item.sdk?.version === sdkVersion);
|
||||
const file = release?.sdk?.files?.find(item => item.rid === 'linux-x64' && item.name.endsWith('.tar.gz'));
|
||||
if (!file) throw new Error(`Linux x64 SDK archive not found for ${sdkVersion}`);
|
||||
const archiveResponse = await fetch(file.url);
|
||||
const archiveUrl = `https://dotnetcli.blob.core.windows.net/dotnet/Sdk/${sdkVersion}/dotnet-sdk-${sdkVersion}-linux-x64.tar.gz`;
|
||||
const archiveResponse = await fetch(archiveUrl);
|
||||
if (!archiveResponse.ok) throw new Error(`SDK download failed: ${archiveResponse.status}`);
|
||||
await writeFile('/tmp/dotnet-sdk.tar.gz', new Uint8Array(await archiveResponse.arrayBuffer()));
|
||||
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
<AssemblyName>ShrinkNetwork.Integration.App</AssemblyName>
|
||||
<RootNamespace>ShrinkNetwork.Integration.App</RootNamespace>
|
||||
<PackageId>ShrinkSDK.Network.Integration.App</PackageId>
|
||||
<Version>0.2.0</Version>
|
||||
<Version>0.2.6</Version>
|
||||
<Description>ShrinkNetwork and App host integration.</Description>
|
||||
<ShrinkCodeGenEnabled>true</ShrinkCodeGenEnabled>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Runtime\*.cs" />
|
||||
<PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.1.0" />
|
||||
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.2.0" />
|
||||
<PackageReference Include="ShrinkSDK.App.Core" Version="0.2.0" />
|
||||
<PackageReference Include="ShrinkSDK.Network" Version="0.3.0" />
|
||||
<PackageReference Include="ShrinkSDK.CodeGen" Version="0.1.0" PrivateAssets="compile;runtime;contentfiles;native" />
|
||||
<PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.2.0" />
|
||||
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.3.1" />
|
||||
<PackageReference Include="ShrinkSDK.App.Core" Version="0.2.4" />
|
||||
<PackageReference Include="ShrinkSDK.Network" Version="0.4.3" />
|
||||
<PackageReference Include="ShrinkSDK.CodeGen" Version="0.2.0" PrivateAssets="compile;runtime;contentfiles;native" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -23,3 +23,13 @@ var service = network.Service;
|
||||
- 本包当前不主动绑定传输层,也不替业务决定 TCP / KCP / Loopback。
|
||||
- 静态消息合同与静态 handler 的默认注册仍由 `ShrinkNetworkRuntime.Default` 完成。
|
||||
- 运行时实例 handler 仍然走 `RegisterHandlers(object target)`。
|
||||
|
||||
## 可复用能力
|
||||
|
||||
<!-- shrink:capabilities -->
|
||||
Capability: 把网络服务作为 Context 组件和应用服务门面提供
|
||||
Aliases: 网络宿主 network app
|
||||
Limits: 不实现具体联网玩法;生命周期决定服务可用性
|
||||
Extension: shrink.service.network 和原生组件
|
||||
Evidence: [ShrinkNetworkAppComponent](Runtime/ShrinkNetworkAppComponent.cs)
|
||||
<!-- /shrink:capabilities -->
|
||||
+4
-4
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "com.cneicy.shrink-network-integration-app",
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.6",
|
||||
"displayName": "ShrinkNetwork - App Integration",
|
||||
"description": "ShrinkNetwork 与 ShrinkApp 的桥接层,把默认网络服务纳入统一宿主服务容器。",
|
||||
"unity": "2022.3",
|
||||
"dependencies": {
|
||||
"com.cneicy.shrink-network": "0.3.0",
|
||||
"com.cneicy.shrink-app-core": "0.2.0",
|
||||
"com.cneicy.shrink-network": "0.4.3",
|
||||
"com.cneicy.shrink-app-core": "0.2.4",
|
||||
"com.cysharp.unitask": "2.5.10",
|
||||
"com.cneicy.shrink-context-core": "0.2.0"
|
||||
"com.cneicy.shrink-context-core": "0.3.1"
|
||||
},
|
||||
"keywords": [
|
||||
"network",
|
||||
|
||||
Reference in new issue
Block a user