From ecc7f2a5210ad65a21d4a44c1508cfecd34891f8 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sat, 3 Aug 2024 16:07:30 -0400 Subject: [PATCH] build(linux): fix new lint errors (#2953) --- packaging/linux/flatpak/flatpak-lint-baseline_repo.json | 4 ++-- packaging/sunshine.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/linux/flatpak/flatpak-lint-baseline_repo.json b/packaging/linux/flatpak/flatpak-lint-baseline_repo.json index 54282488475..92d24feb051 100644 --- a/packaging/linux/flatpak/flatpak-lint-baseline_repo.json +++ b/packaging/linux/flatpak/flatpak-lint-baseline_repo.json @@ -1,10 +1,10 @@ { "errors": [ - "appstream-external-screenshot-url", + "appstream-missing-screenshots", "finish-args-flatpak-spawn-access" ], "info": [ - "appstream-external-screenshot-url: Screenshots are not mirrored to https://dl.flathub.org/media", + "appstream-missing-screenshots: Catalogue file has no screenshots. Please check if screenshot URLs are reachable", "finish-args-flatpak-spawn-access: finish-args has a talk-name access for org.freedesktop.Flatpak" ], "message": "Please consult the documentation at https://docs.flathub.org/docs/for-app-authors/linter" diff --git a/packaging/sunshine.rb b/packaging/sunshine.rb index cb97f7f097a..6c36f852e18 100644 --- a/packaging/sunshine.rb +++ b/packaging/sunshine.rb @@ -145,10 +145,10 @@ def caveats test do # test that the binary runs at all - system "#{bin}/sunshine", "--version" + system bin/"sunshine", "--version" # run the test suite # cannot build tests with python tests because homebrew destroys the source directory - system "#{bin}/test_sunshine", "--gtest_color=yes" + system bin/"test_sunshine", "--gtest_color=yes" end end