1 Commits

Author SHA1 Message Date
dependabot[bot]
1fff14c4b7 Bump actions/upload-artifact from 7.0.1 to 7.0.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](043fb46d1a...cf430e030d)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-14 18:04:35 +00:00
2 changed files with 3 additions and 16 deletions

View File

@@ -201,7 +201,7 @@ jobs:
# handed out under the repository's name. # handed out under the repository's name.
- name: Upload artifact - name: Upload artifact
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with: with:
name: ${{ matrix.artifact }} name: ${{ matrix.artifact }}
path: ${{ matrix.package }} path: ${{ matrix.package }}

View File

@@ -38,7 +38,7 @@ public partial class MainWindow : Window
ExtendClientAreaToDecorationsHint = true; ExtendClientAreaToDecorationsHint = true;
ExtendClientAreaTitleBarHeightHint = TitleBarHeight; ExtendClientAreaTitleBarHeightHint = TitleBarHeight;
if (AppServices.Current.Settings.WindowMaximized || wantsMaximized()) if (AppServices.Current.Settings.WindowMaximized)
WindowState = WindowState.Maximized; WindowState = WindowState.Maximized;
PropertyChanged += (_, e) => PropertyChanged += (_, e) =>
@@ -309,19 +309,6 @@ public partial class MainWindow : Window
menu.Open(HelpButton); menu.Open(HelpButton);
} }
private bool wantsMaximized()
{
// make sure the window fills the whole screen on gamescope sessions
if (Environment.GetEnvironmentVariable("XDG_CURRENT_DESKTOP") == "gamescope")
return true;
// catch being launched via Steam Big Picture mode as well
if (Environment.GetEnvironmentVariable("SteamGamepadUI") == "1")
return true;
return false;
}
private void linkClick(object? sender, RoutedEventArgs e) private void linkClick(object? sender, RoutedEventArgs e)
{ {
if (sender is not Button btn) if (sender is not Button btn)
@@ -640,6 +627,6 @@ public partial class MainWindow : Window
if (!IsVisible) if (!IsVisible)
Show(); Show();
if (WindowState == WindowState.Minimized) if (WindowState == WindowState.Minimized)
WindowState = wantsMaximized() ? WindowState.Maximized : WindowState.Normal; WindowState = WindowState.Normal;
} }
} }