上传文件至 /

This commit is contained in:
2025-10-22 01:16:48 +08:00
parent b91918a1c9
commit f89ae74a0f
4 changed files with 53 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
# autoupload # autoupload
舞萌dx自动更新工具 舞萌dx自动更新工具

BIN
nya.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

26
update.csproj Normal file
View File

@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<StartupObject>Program</StartupObject>
<!-- 生成 exe 相关 -->
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <!-- 必须指定,否则只生成 dll -->
<PlatformTarget>x64</PlatformTarget>
<PublishSingleFile>true</PublishSingleFile> <!-- 生成单文件 exe -->
<SelfContained>true</SelfContained> <!-- false依赖本地 .NET 8 Runtime -->
<!-- 输出目录 -->
<PublishDir>$(MSBuildProjectDirectory)\OUT\</PublishDir>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MySql.Data" Version="9.4.0" />
<PackageReference Include="System.Management" Version="9.0.8" />
<PackageReference Include="YamlDotNet" Version="16.3.0" />
</ItemGroup>
</Project>

25
update.sln Normal file
View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.36414.22 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "update", "update.csproj", "{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Debug|Any CPU.Build.0 = Debug|Any CPU
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Release|Any CPU.ActiveCfg = Release|Any CPU
{18C4FCCE-7212-FFDF-0A93-E7B99FA42662}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A8326E7B-4DBC-4A9B-8869-EB3A3CEE683F}
EndGlobalSection
EndGlobal