Skip to content

Commit

Permalink
Bump to 2.7, Roblox log file quick access (#2237)
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jul 4, 2024
1 parent cc4c380 commit fb0b045
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Bloxstrap/Bloxstrap.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<UseWPF>true</UseWPF>
<UseWindowsForms>True</UseWindowsForms>
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
<Version>2.6.2</Version>
<FileVersion>2.6.2.0</FileVersion>
<Version>2.7.0</Version>
<FileVersion>2.7.0</FileVersion>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
Expand Down
13 changes: 12 additions & 1 deletion Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,18 @@
</Grid>
</MenuItem.Header>
</MenuItem>
<MenuItem x:Name="LogTracerMenuItem" Header="{x:Static resources:Strings.ContextMenu_OpenLogFile}" Visibility="Collapsed" Click="LogTracerMenuItem_Click" />
<MenuItem x:Name="LogTracerMenuItem" Click="LogTracerMenuItem_Click">
<MenuItem.Header>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="24" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<ui:SymbolIcon Grid.Column="0" Symbol="DocumentCatchUp20"/>
<TextBlock Grid.Column="1" VerticalAlignment="Center" Margin="4,0,0,0" Text="{x:Static resources:Strings.ContextMenu_OpenLogFile}" />
</Grid>
</MenuItem.Header>
</MenuItem>
</ContextMenu>
</ui:UiWindow.ContextMenu>
</base:WpfUiWindow>
4 changes: 0 additions & 4 deletions Bloxstrap/UI/Elements/ContextMenu/MenuContainer.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ public MenuContainer(ActivityWatcher? activityWatcher, DiscordRichPresence? rich

if (_activityWatcher is not null)
{
#if DEBUG
LogTracerMenuItem.Visibility = Visibility.Visible;
#endif

_activityWatcher.OnGameJoin += ActivityWatcher_OnGameJoin;
_activityWatcher.OnGameLeave += ActivityWatcher_OnGameLeave;
}
Expand Down

0 comments on commit fb0b045

Please sign in to comment.