Skip to content

Commit

Permalink
default use discreet GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
MikiraSora committed Feb 17, 2025
1 parent ada7e56 commit 4cfa31f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file not shown.
5 changes: 5 additions & 0 deletions OngekiFumenEditor/OngekiFumenEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
</EmbeddedResource>
</ItemGroup>

<!--使用nvpatch工具让程序默认使用独显运行(核显给爷爬)-->
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="$(ProjectDir)Dependencies\Topten.nvpatch.exe --enable $(TargetDir)$(TargetName).exe" />
</Target>

<!--记录编译时间-->
<PropertyGroup>
<BuildDateTime>$([System.DateTime]::UtcNow.AddHours(8).ToString("yyyy/M/dd H:mm:ss.fff"))</BuildDateTime>
Expand Down

0 comments on commit 4cfa31f

Please sign in to comment.