update files to have versions, replace temp files if they exist
This commit is contained in:
parent
c1f8b7e3ee
commit
bcbc95f468
@ -4,6 +4,8 @@
|
|||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<AssemblyVersion>2.4</AssemblyVersion>
|
||||||
|
<FileVersion>2.4</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AvaloniaResource Include="Assets\**" />
|
<AvaloniaResource Include="Assets\**" />
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<AssemblyVersion>2.4</AssemblyVersion>
|
||||||
|
<FileVersion>2.4</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -21,12 +23,10 @@
|
|||||||
<AvaloniaResource Remove="Assets\Styles.axaml" />
|
<AvaloniaResource Remove="Assets\Styles.axaml" />
|
||||||
<None Remove=".gitignore" />
|
<None Remove=".gitignore" />
|
||||||
<None Remove="Resources\7za.exe" />
|
<None Remove="Resources\7za.exe" />
|
||||||
<None Remove="Resources\PatchClient.exe" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Resources\7za.exe" />
|
<EmbeddedResource Include="Resources\7za.exe" />
|
||||||
<EmbeddedResource Include="Resources\PatchClient.exe" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia" Version="0.10.11" />
|
<PackageReference Include="Avalonia" Version="0.10.11" />
|
||||||
|
Binary file not shown.
@ -47,7 +47,10 @@ namespace PatcherUtils
|
|||||||
{
|
{
|
||||||
FileInfo outputFile = new FileInfo(OutputFilePath);
|
FileInfo outputFile = new FileInfo(OutputFilePath);
|
||||||
|
|
||||||
if (outputFile.Exists) return;
|
if (outputFile.Exists)
|
||||||
|
{
|
||||||
|
outputFile.Delete();
|
||||||
|
}
|
||||||
|
|
||||||
if (!outputFile.Directory.Exists)
|
if (!outputFile.Directory.Exists)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user