Skip to content

Commit 954d764

Browse files
committed
Add local postbuild-fivem.cmd and postbuild-redm.cmd commands.
1 parent 77c2f2b commit 954d764

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,7 @@ __pycache__/
262262
dependencies/MenuAPI\.net\.dll
263263

264264
postbuild\.cmd
265+
266+
postbuild-fivem.cmd
267+
268+
postbuild-redm.cmd

TestMenu/TestMenu.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@
3131
</Reference>
3232
</ItemGroup>
3333

34+
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
35+
<Exec Command="if &quot;$(ConfigurationName)&quot; == &quot;Release RedM&quot; (&#xD;&#xA; if exist &quot;$(SolutionDir)postbuild-redm.cmd&quot; (&#xD;&#xA; &quot;$(SolutionDir)postbuild-redm.cmd&quot;&#xD;&#xA; )&#xD;&#xA;) else if &quot;$(ConfigurationName)&quot; == &quot;Release FiveM&quot; (&#xD;&#xA; if exist &quot;$(SolutionDir)\postbuild-fivem.cmd&quot; (&#xD;&#xA; &quot;$(SolutionDir)\postbuild-fivem.cmd&quot;&#xD;&#xA; )&#xD;&#xA;)&#xD;&#xA;" />
36+
</Target>
37+
3438
</Project>

0 commit comments

Comments
 (0)