Compare commits

...

3 Commits

Author SHA1 Message Date
Yue-bin
78081d82ae chore(project): 添加作者信息并优化项目引用配置
在项目文件中添加了作者信息,并重新组织了引用配置,
移除了重复的 ItemGroup 标签,同时添加了必要的程序集引用排除项。
2026-06-11 02:19:52 +08:00
Yue-bin
c0352cf750 build(playermanager): 重命名项目文件和根命名空间
将 stick.plugins.playermanager.csproj 重命名为 stick.plugins.tmpl.csproj,
同时更新 RootNamespace 从 stick.plugins.playermanager 为 stick.plugins.tmpl
2026-06-11 02:16:15 +08:00
Yue-bin
e4a96d3201 chore(ci): 为.NET构建流程添加代理配置
在Gitea工作流中添加HTTP/HTTPS代理环境变量配置,
以解决网络访问问题并提高依赖包下载速度。
2026-06-11 02:15:25 +08:00
2 changed files with 24 additions and 6 deletions

View File

@@ -21,6 +21,11 @@ jobs:
- name: Restore dependencies
run: dotnet restore
# 直接加代理得了
env:
http_proxy: "http://172.17.0.1:7890"
https_proxy: "http://172.17.0.1:7890"
no_proxy: "localhost,127.0.0.1,*.lan"
- name: Build
run: dotnet build --no-restore --configuration Release

View File

@@ -7,12 +7,13 @@
<Version>0.0.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Authors>sleeeeeep</Authors>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json;
https://nuget.samboy.dev/v3/index.json
</RestoreAdditionalProjectSources>
<RootNamespace>stick.plugins.playermanager</RootNamespace>
<RootNamespace>stick.plugins.tmpl</RootNamespace>
</PropertyGroup>
<ItemGroup>
@@ -32,18 +33,30 @@
<Reference Include="Assembly-CSharp">
<HintPath>lib/Assembly-CSharp.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>lib/Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Reference Include="Lidgren.Network">
<HintPath>lib/Lidgren.Network.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<None Remove="Assembly-CSharp.dll" />
<None Remove="Assembly-CSharp-firstpass.dll" />
<None Remove="Lidgren.Network.dll" />
<None Remove="TextMeshPro-1.0.55.56.0b9.dll" />
<None Remove="UnityEngine.UI.dll" />
<None Remove="Mono.Security.dll" />
<None Remove="mscorlib.dll" />
<None Remove="System.dll" />
<None Remove="System.Core.dll" />
<None Remove="System.Xml.dll" />
<None Remove="UnityEngine.dll" />
<None Remove="UnityEngine.Analytics.dll" />
<None Remove="UnityEngine.dll.mdb" />
<None Remove="UnityEngine.Networking.dll" />
</ItemGroup>
</Project>