Skip to content

Commit

Permalink
UI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotr7 committed Jan 12, 2025
1 parent 6486cb1 commit 28fefa9
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 27 deletions.
46 changes: 23 additions & 23 deletions src/StarBreaker.Grpc/StarBreaker.Grpc.csproj
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk">
<!--Note: Don't add code to this project, keep it just
the grpc clients. Otherwise compilation takes ages-->
<!--Note: Don't add code to this project, keep it just
the grpc clients. Otherwise compilation takes ages-->

<PropertyGroup>
<NoWarn>CS8981</NoWarn>
</PropertyGroup>

<PropertyGroup>
<ProtobufPath>C:\Development\StarCitizen\StarCitizenProtobuf\protos</ProtobufPath>
</PropertyGroup>
<PropertyGroup>
<NoWarn>CS8981</NoWarn>
</PropertyGroup>

<ItemGroup>
<Protobuf ProtoRoot="$(ProtobufPath)" Include="$(ProtobufPath)\**\*.proto" />
</ItemGroup>
<PropertyGroup>
<ProtobufPath>$(SolutionDir)..\..\StarCitizenDiff\Protobuf</ProtobufPath>
</PropertyGroup>

<ItemGroup>
<Protobuf ProtoRoot="$(ProtobufPath)" Include="$(ProtobufPath)\**\*.proto"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.29.2" />
<PackageReference Include="Grpc.Net.Client" Version="2.67.0" />
<PackageReference Include="Grpc.Tools" Version="2.68.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.29.3"/>
<PackageReference Include="Grpc.Net.Client" Version="2.67.0"/>
<PackageReference Include="Grpc.Tools" Version="2.69.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\StarBreaker.Common\StarBreaker.Common.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StarBreaker.Common\StarBreaker.Common.csproj"/>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/StarBreaker.Protobuf/StarBreaker.Protobuf.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.29.2" />
<PackageReference Include="Google.Protobuf" Version="3.29.3" />
<PackageReference Include="Grpc.Reflection" Version="2.67.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/StarBreaker.Tests/StarBreaker.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="TUnit" Version="0.6.15" />
<PackageReference Include="TUnit" Version="0.6.89" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/StarBreaker/Screens/SplashWindow/SplashWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
HorizontalAlignment="Center"
Text="Detected P4k files" />

<ItemsControl ItemsSource="{Binding Installations}" HorizontalAlignment="Center">
<ItemsControl ItemsSource="{Binding Installations}" HorizontalAlignment="Center" >
<ItemsControl.DataTemplates>
<DataTemplate x:DataType="vm:StarCitizenInstallationViewModel">
<!-- ReSharper disable once Xaml.PossibleNullReferenceException -->
<Button
HorizontalAlignment="Center"
Margin="10"
ToolTip.Tip="{Binding Path}"
Content="{Binding DisplayVersion}"
Expand Down
2 changes: 1 addition & 1 deletion src/StarBreaker/StarBreaker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PackageReference Include="Avalonia.Controls.TreeDataGrid" Version="11.1.0" />
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.2.2" />
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.2.3" />
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.1.0" />
<PackageReference Include="AvaloniaEdit.TextMate.Grammars" Version="0.10.12.1" />
<PackageReference Include="AvaloniaHex" Version="0.1.6" />
Expand Down

0 comments on commit 28fefa9

Please sign in to comment.