Fix XML formatting in installer.vcxproj

This commit is contained in:
deepend-tildeclub
2026-02-14 22:12:58 -07:00
committed by GitHub
parent 4927413bcb
commit de7807bc6a

View File

@@ -36,9 +36,12 @@
<PreBuildEvent> <PreBuildEvent>
<Command> <Command>
<![CDATA[ <![CDATA[
SET SOLUTIONDIR=$(SolutionDir)..\ set "SOLUTIONDIR=$(SolutionDir)..\"
powershell -File "$(SolutionDir)..\win32\version-template.ps1" "$(SolutionDir)..\win32\installer\zoitechat.iss.tt" "$(ZoiteChatBin)zoitechat.iss"
$(IsccPath) /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(ZoiteChatBin)zoitechat.iss" powershell -NoProfile -ExecutionPolicy Bypass -File "%SOLUTIONDIR%win32\version-template.ps1" "%SOLUTIONDIR%win32\installer\zoitechat.iss.tt" "$(ZoiteChatBin)zoitechat.iss" ^
&& if /I "$(Platform)"=="Win32" (set "APPARCH=x86") else (set "APPARCH=x64") ^
&& if not exist "$(IsccPath)" (echo ISCC not found: $(IsccPath) & exit /b 9009) ^
&& "$(IsccPath)" /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="%APPARCH%" "$(ZoiteChatBin)zoitechat.iss"
]]> ]]>
</Command> </Command>
</PreBuildEvent> </PreBuildEvent>
@@ -50,3 +53,4 @@ $(IsccPath) /dPROJECTDIR="$(ProjectDir)" /dAPPARCH="$(Platform)" "$(ZoiteChatBin
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project> </Project>