Skip to content

Commit

Permalink
Added publishing helper scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Nov 3, 2024
1 parent 27dc79b commit 8c6bdf5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
File renamed without changes.
23 changes: 23 additions & 0 deletions 01_build_release.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@echo off
@setlocal

set MYDIR=%~dp0
pushd "%MYDIR%"

where msbuild > nul 2>&1 && (
echo Starting build

msbuild /p:Configuration="Release (WinMain)" /p:Platform=x64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (WinMain)" /p:Platform=ARM64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (WinMain)" /p:Platform=Win32 .\NefConUtil.vcxproj

msbuild /p:Configuration="Release (Console)" /p:Platform=x64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (Console)" /p:Platform=ARM64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (Console)" /p:Platform=Win32 .\NefConUtil.vcxproj

) || (
echo MSBuild not found, please make sure you called the "Setup-VS2022" snippet before!
)

popd
endlocal
10 changes: 10 additions & 0 deletions 02_sign.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
@setlocal

set MYDIR=%~dp0
pushd "%MYDIR%"

wdkwhere run signtool sign /v /n "Nefarius Software Solutions e.U." /tr http://timestamp.digicert.com /fd sha256 /td sha256 ".\bin\x64\*.exe" ".\bin\ARM64\*.exe" ".\bin\x86\*.exe"

popd
endlocal

0 comments on commit 8c6bdf5

Please sign in to comment.