diff --git a/Greenshot/log4net-zip.xml b/Greenshot/log4net-zip.xml new file mode 100644 index 000000000..eb3d3d20a --- /dev/null +++ b/Greenshot/log4net-zip.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Greenshot/releases/additional_files/readme.txt.template b/Greenshot/releases/additional_files/readme.txt.template index 725c23570..0cd9e2edf 100644 --- a/Greenshot/releases/additional_files/readme.txt.template +++ b/Greenshot/releases/additional_files/readme.txt.template @@ -13,6 +13,7 @@ All details to our tickets can be found here: https://greenshot.atlassian.net * BUG-2079 Problem with authentication in JIRA plugin * BUG-2080 Exception when opening the context menu * BUG-2089 Greenshot crashes when hotkey registration fails and OneDrive is not installed +* BUG-2091 Greenshot .zip version has wrong log configuration * FEATURE-992 Open Greenshot in foreground * FEATURE-995 Setting to paste new images inside greenshot based on cursor location * FEATURE-998 Open Last Capture File should select/jump to the file diff --git a/build.ps1 b/build.ps1 index f28a6794e..601c7d3fa 100644 --- a/build.ps1 +++ b/build.ps1 @@ -215,8 +215,11 @@ Function PackageZip { "$sourcebase\GreenshotPlugin.dll", "$sourcebase\LinqBridge.dll", "$sourcebase\log4net.dll", + "$sourcebase\log4net-zip.xml" "$destbase\additional_files\*.txt" ) | foreach { Copy-Item $_ "$destzip\" } + Rename-Item "$destzip\log4net-zip.xml" "$destzip\log4net.xml" + $zipOutput = "$(get-location)\zip" $zip7 = "$(get-location)\greenshot\tools\7zip\7za.exe" $arguments = @('a', '-mx9', '-tzip', '-r', "$destbase\Greenshot-NO-INSTALLER-$fileversion.zip", "$destzip\*")