Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AvifGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<ItemGroup>
<PackageReference Include="CsvHelper" Version="33.1.0" />
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="14.10.3" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.8" />
<PackageReference Include="NativeFileDialogSharp" Version="0.5.0" />
<PackageReference Include="Photino.NET" Version="4.0.16" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Examples/example.csv
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ office@iga.com.pl,iga.com.pl,+48 / 48 663 54 51,IGA-Cookies at every moment,iga.
office@iga.com.pl,iga.com.pl,+48 / 48 663 54 51,IGA-Cookies at every moment,iga.com.pl,Markizy czekoladowe,klasyczne ciastka kruche z kremem kakaowym
office@iga.com.pl,iga.com.pl,+48 / 48 663 54 51,IGA-Cookies at every moment,iga.com.pl,Markizy czekoladowe,dlaczego są tak popularne wśród konsumentów
office@iga.com.pl,iga.com.pl,+48 / 48 663 54 51,IGA-Cookies at every moment,iga.com.pl,Wyroby cukiernicze producent w Polsce,standardy jakości i certyfikaty
office@iga.com.pl,iga.com.pl,+48 / 48 663 54 51,IGA-Cookies at every moment,iga.com.pl,Ciastka kruche producent,jak powstają klasyczne wypieki przemysłowe
office@iga.com.pl,iga.com.pl,+48 / 48 663 54 51,IGA-Cookies at every moment,iga.com.pl,Ciastka kruche producent,jak powstają klasyczne wypieki przemysłowe
31 changes: 0 additions & 31 deletions GUI/gui.py

This file was deleted.

142 changes: 0 additions & 142 deletions GUI/logic.py

This file was deleted.

4 changes: 0 additions & 4 deletions GUI/main.py

This file was deleted.

2 changes: 0 additions & 2 deletions GUI/requirements.txt

This file was deleted.

139 changes: 0 additions & 139 deletions GUI/settings.py

This file was deleted.

8 changes: 0 additions & 8 deletions LICENSE

This file was deleted.

7 changes: 5 additions & 2 deletions Models/FieldConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ public class FieldConfig
[JsonPropertyName("max_threads")] public double? MaxThreads {get; set; }

[JsonPropertyName("psd_layer")] public string PsdLayer {get; set;}
[JsonPropertyName("font_file")] public string FontFile { get; set; }

// Змінили тут, щоб точно метчилось із JSON та JS
[JsonPropertyName("FontFile")] public string FontFile { get; set; }

[JsonPropertyName("size")] public int Size { get; set; }
[JsonPropertyName("color")] public int[] Color { get; set; }
[JsonPropertyName("max_chars")] public int MaxChars { get; set; }
Expand All @@ -18,4 +21,4 @@ public class FieldConfig
[JsonPropertyName("BoxWidth")] public int? BoxWidth { get; set; }
[JsonPropertyName("BoxHeight")] public int? BoxHeight { get; set; }
}
}
}
8 changes: 4 additions & 4 deletions Services/GenerationOptions.cs → Models/GenerationOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ namespace AvifGenerator.Models
/// </summary>
public sealed class GenerationOptions
{
public required string CsvPath { get; init; }
public required string ConfigPath { get; init; }
public required string TemplatePath { get; init; }
public required string OutputDir { get; init; }
public string? CsvPath { get; set; }
public string? ConfigPath { get; set; }
public string? TemplatePath { get; set; }
public string? OutputDir { get; set; }
public required string BaseDir { get; init; }
public required string ReportPath { get; init; }
}
Expand Down
Loading
Loading