mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-11 19:13:59 +00:00
Don't require SIGNTOOL_PARAMS to contain the 'sign' command
This commit is contained in:
@@ -27,7 +27,7 @@ if /I "%BUILD_CONFIG%"=="debug" (
|
||||
)
|
||||
|
||||
if not defined SIGNTOOL_PARAMS (
|
||||
echo "A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds"
|
||||
echo A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
@@ -280,7 +280,7 @@ if "%SIGN%"=="1" (
|
||||
for /r "%DEPLOY_FOLDER%" %%f in (*.dll *.exe) do (
|
||||
set FILES_TO_SIGN=!FILES_TO_SIGN! %%f
|
||||
)
|
||||
signtool %SIGNTOOL_PARAMS% !FILES_TO_SIGN!
|
||||
signtool sign %SIGNTOOL_PARAMS% !FILES_TO_SIGN!
|
||||
if !ERRORLEVEL! NEQ 0 goto Error
|
||||
)
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ if /I "%BUILD_CONFIG%"=="debug" (
|
||||
)
|
||||
|
||||
if not defined SIGNTOOL_PARAMS (
|
||||
echo "A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds"
|
||||
echo A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds
|
||||
exit /b 1
|
||||
)
|
||||
) else (
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
<SignOutput>true</SignOutput>
|
||||
</PropertyGroup>
|
||||
<Target Name="SignBundleEngine">
|
||||
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignBundleEngine.FullPath)' />
|
||||
<Exec Command='signtool.exe sign $(SIGNTOOL_PARAMS) %(SignBundleEngine.FullPath)' />
|
||||
</Target>
|
||||
<Target Name="SignBundle">
|
||||
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignBundle.FullPath)' />
|
||||
<Exec Command='signtool.exe sign $(SIGNTOOL_PARAMS) %(SignBundle.FullPath)' />
|
||||
</Target>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="WixToolset.Bal.wixext" Version="7.0.0" />
|
||||
|
||||
Reference in New Issue
Block a user