Files
Shigure/Shigure.csproj
liantian-cn fd5b04463a feat: 模块目录迁移至用户配置目录
模块存储位置从 exe 旁 baseDirectory/module 迁移到 {UserProfile}/.config/{AppName}/module
(AppName 动态取程序集名,Windows 下为 C:\Users\<用户名>\.config\Shigure\module)。

- ModuleStore.ResolveModuleDirectory 改为无参静态方法,删除 Shigure.csproj 检测死代码
- AppInfo 新增 AppName(程序集名单一来源,与 Version 惯例一致)
- Program.cs 新增启动迁移提示:旧目录有内容且新目录无模块文件时弹纯文案提示
- StatusForm 关于页在路径位于 exe 目录外时显示完整路径;编辑器打开文件夹跟随新路径
- csproj 删除 module 复制项;仓库根 module/ 示例目录保留
- 文档同步更新(README/CLAUDE/打包说明/Obsidian 01/11/00/10)
- 旧模块不自动迁移,由提示引导用户手动移动
2026-08-15 11:21:10 +08:00

38 lines
1.6 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>Shigure</AssemblyName>
<RootNamespace>Shigure</RootNamespace>
<Company>Arasaka Corporation</Company>
<Version>1.2.1.2</Version>
<AssemblyVersion>1.2.1.2</AssemblyVersion>
<FileVersion>1.2.1.2</FileVersion>
<ApplicationIcon>Assets\arasaka-icon.ico</ApplicationIcon>
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
</PropertyGroup>
<!-- 提权清单只在 Release打包构建生效Debug 构建(含默认 dotnet run不要求提权
便于开发调试Release 产物仍通过 app.manifest 要求管理员权限启动。 -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Assets\*.ico" />
<EmbeddedResource Include="Assets\*.png" />
<EmbeddedResource Include="Assets\*.svg" />
<EmbeddedResource Include="Assets\Class\*.jpg" />
<EmbeddedResource Include="Assets\Spec\*.jpg" />
<None Include="config\*.json" CopyToOutputDirectory="PreserveNewest" />
<None Include="keymap\*.json" CopyToOutputDirectory="PreserveNewest" />
<None Include="wow_process.txt" CopyToOutputDirectory="PreserveNewest" />
<None Update="Fuyutsui\**\*" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
</ItemGroup>
</Project>