From 91a20662dab6697cbe0e38e891e37f523b96bb8c Mon Sep 17 00:00:00 2001 From: Thomas Hilscher Date: Wed, 9 Aug 2023 22:50:42 +0200 Subject: [PATCH] Deployment now includes PDFtoPrinter executable --- Setup/MainComponents.wxs | 3 +++ Setup/Setup.wixproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Setup/MainComponents.wxs b/Setup/MainComponents.wxs index b40a1a0..b92efc2 100644 --- a/Setup/MainComponents.wxs +++ b/Setup/MainComponents.wxs @@ -7,6 +7,9 @@ + + + \ No newline at end of file diff --git a/Setup/Setup.wixproj b/Setup/Setup.wixproj index f3c442d..6929739 100644 --- a/Setup/Setup.wixproj +++ b/Setup/Setup.wixproj @@ -8,7 +8,7 @@ BuildPath=../Elwig/bin/Publish;DocumentTemplatesPath=../Elwig/Documents - curl -s -L "https://unpkg.com/pagedjs/dist/paged.polyfill.js" -o "$(TargetDir)paged.polyfill.js" && dotnet publish "$(SolutionDir)Elwig\Elwig.csproj" "/p:PublishProfile=$(SolutionDir)\Elwig\Properties\PublishProfiles\FolderProfile.pubxml" + curl -s -L "https://unpkg.com/pagedjs/dist/paged.polyfill.js" -o "$(TargetDir)paged.polyfill.js" && if not exist "$(TargetDir)PDFtoPrinter.exe" curl -s -L "http://www.columbia.edu/~em36/PDFtoPrinter.exe" -o "$(TargetDir)PDFtoPrinter.exe" && dotnet publish "$(SolutionDir)Elwig\Elwig.csproj" "/p:PublishProfile=$(SolutionDir)\Elwig\Properties\PublishProfiles\FolderProfile.pubxml" de-AT