Skip to content

Commit

Permalink
Fix drag and drop not working on Windows due to TrimMode=Link
Browse files Browse the repository at this point in the history
  • Loading branch information
dan0v committed Sep 28, 2021
1 parent d05b544 commit 90e3556
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Publish/Windows/PublishWindows.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd -Path "$(Get-Location)\..\..\"
dotnet publish -r win-x86 -c Release -p:SelfContained=True -p:IncludeAllContentForSelfExtract=True -p:PublishSingleFile=True -o bin/Release/net5.0/publishWin
1 change: 1 addition & 0 deletions Publish/Windows/Windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ cd "../.."
chmod +x "Assets/exec/xdelta3_x64_linux"
chmod +x "Assets/exec/xdelta3_mac"

# RUN IN POWERSHELL
#dotnet publish -r win-x86 -c Release -p:SelfContained=True -p:IncludeAllContentForSelfExtract=True -p:PublishSingleFile=True -o bin/Release/net5.0/publishWin
cd "$ORIGIN"

Expand Down
8 changes: 4 additions & 4 deletions xdelta3_cross_gui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<Authors>dan0v</Authors>
<Description>A cross-platform graphical user interface for xDelta3 patching</Description>
<ApplicationIcon>Icon.ico</ApplicationIcon>
<Version>1.1.1</Version>
<Version>1.1.2</Version>
<CopyOutputSymbolsToPublishDirectory>false</CopyOutputSymbolsToPublishDirectory>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>Link</TrimMode>
<TrimMode>CopyUsed</TrimMode>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -42,8 +42,8 @@
<AvaloniaResource Include="Assets\img\up.png" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.0" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.0" />
<PackageReference Include="Avalonia" Version="0.10.7" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.7" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 90e3556

Please sign in to comment.