1 Commits

Author SHA1 Message Date
dependabot[bot]
7e6d74e813 Bump actions/download-artifact from 8.0.1 to 8.0.2
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](3e5f45b2cf...9000827ccb)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 8.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:25 +00:00
2 changed files with 3 additions and 16 deletions

View File

@@ -236,7 +236,7 @@ jobs:
# Windows .zip a file - unpacked, its contents would end up in the release
# instead of the package.
- name: Collect the packages
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
path: dist
merge-multiple: true

View File

@@ -38,7 +38,7 @@ public partial class MainWindow : Window
ExtendClientAreaToDecorationsHint = true;
ExtendClientAreaTitleBarHeightHint = TitleBarHeight;
if (AppServices.Current.Settings.WindowMaximized || wantsMaximized())
if (AppServices.Current.Settings.WindowMaximized)
WindowState = WindowState.Maximized;
PropertyChanged += (_, e) =>
@@ -309,19 +309,6 @@ public partial class MainWindow : Window
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)
{
if (sender is not Button btn)
@@ -640,6 +627,6 @@ public partial class MainWindow : Window
if (!IsVisible)
Show();
if (WindowState == WindowState.Minimized)
WindowState = wantsMaximized() ? WindowState.Maximized : WindowState.Normal;
WindowState = WindowState.Normal;
}
}