publish fix

This commit is contained in:
2026-02-17 22:49:36 +01:00
Unverified
parent fae9aa3ae2
commit 394132b253
35 changed files with 225 additions and 197 deletions

View File

@@ -36,17 +36,13 @@ namespace VDownload.Core.Strings
private static StringResource BuildResource(string resourceName)
{
File.AppendAllText("C:\\Users\\mateusz\\Desktop\\test.txt", $"teststring {resourceName}\n");
ResourceLoader loader;
try
{
loader = new ResourceLoader($"VDownload.Core.Strings/{resourceName}");
File.AppendAllText("C:\\Users\\mateusz\\Desktop\\test.txt", $"afterteststring {resourceName}\n");
loader = new ResourceLoader($"{resourceName}");
}
catch (Exception e)
{
File.AppendAllText("C:\\Users\\mateusz\\Desktop\\test.txt", $"teststringerror {e.Message}\n");
throw;
}
return new StringResource(loader);