From fdb5747a69220e2b562c2402b4ec3744dfd94dca Mon Sep 17 00:00:00 2001 From: napoly Date: Tue, 17 Jun 2025 15:43:13 +0200 Subject: [PATCH] Avoid binary file modification and fix proper file ending --- .gitattributes | 6 ++- .../Monero/BTCPayServer.Plugins.Monero.sln | 44 +++++++++---------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/.gitattributes b/.gitattributes index b0b16bf..0b8e159 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,4 +2,8 @@ * text eol=crlf # Explicitly set Unix LF endings for .sh files -*.sh text eol=lf \ No newline at end of file +*.sh text eol=lf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary \ No newline at end of file diff --git a/Plugins/Monero/BTCPayServer.Plugins.Monero.sln b/Plugins/Monero/BTCPayServer.Plugins.Monero.sln index f3226c6..9d460fa 100644 --- a/Plugins/Monero/BTCPayServer.Plugins.Monero.sln +++ b/Plugins/Monero/BTCPayServer.Plugins.Monero.sln @@ -1,22 +1,22 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.Monero", "BTCPayServer.Plugins.Monero.csproj", "{440E70AD-BA40-449C-8315-6A13D95B6ED7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BTCPayServer.Plugins.Monero", "BTCPayServer.Plugins.Monero.csproj", "{440E70AD-BA40-449C-8315-6A13D95B6ED7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {440E70AD-BA40-449C-8315-6A13D95B6ED7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal