Windows-only, release fixes, Discord covers, and layouts that fit the window

- Atmosphere is now Windows-only: macOS and Linux code, bundle settings and CI are removed
- Releases build as drafts and publish once the build succeeds; failing tests show as error notes
- Every release lists its Windows downloads and warns that the app isn't code-signed yet, so SmartScreen or antivirus may flag it
- Library tests no longer share one data folder at the same time
- Discord: the song's cover (Deezer, then Apple Music) as the big image with the logo as a badge; built-in app ID; invite cover in the image kit; clearer status setting
- Dialogs, menus and popovers stay inside the window and scroll instead of running off screen
- Expandable settings rows show a chevron
- Band names with & stay one artist unless both names are already separate artists
This commit is contained in:
Christian
2026-11-20 02:03:17 -05:00
parent b50db0df31
commit b8fde58a65
21 changed files with 330 additions and 325 deletions
+26 -24
View File
@@ -1,4 +1,4 @@
# atmosphere · release.yml · On a version tag, builds and signs every platform and publishes a GitHub Release with latest.json for in-app updates.
# atmosphere · release.yml · On a version tag, builds and signs the Windows installers into a draft release, then publishes it with latest.json.
name: release
on:
@@ -8,9 +8,13 @@ on:
permissions:
contents: write
defaults:
run:
shell: bash
jobs:
check:
runs-on: ubuntu-22.04
runs-on: windows-latest
outputs:
version: ${{ steps.v.outputs.version }}
notes: ${{ steps.v.outputs.notes }}
@@ -30,39 +34,29 @@ jobs:
{
echo "notes<<ATMO_NOTES_END"
sed '/^<!--/d' RELEASE_NOTES.md
echo
cat .github/release-footer.md
echo "ATMO_NOTES_END"
} >> "$GITHUB_OUTPUT"
publish:
needs: check
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
name: windows-x64
- os: macos-latest
name: macos-arm64
- os: macos-13
name: macos-x64
- os: ubuntu-22.04
name: linux-x64
runs-on: ${{ matrix.os }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Linux system libraries
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev patchelf
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Tests
run: cargo test --locked
shell: bash
run: |
set -o pipefail
if ! cargo test --locked 2>&1 | tee test.log; then
grep -E "^---- |panicked at|^ left|^ right|error(\[E[0-9]+\])?:" test.log | head -40 | while IFS= read -r line; do echo "::error title=Test failure::$line"; done
exit 1
fi
- name: Install Tauri CLI
run: cargo install tauri-cli --version "^2" --locked
@@ -78,15 +72,23 @@ jobs:
tagName: v__VERSION__
releaseName: Atmosphere __VERSION__
releaseBody: ${{ needs.check.outputs.notes }}
releaseDraft: false
releaseDraft: true
prerelease: false
includeUpdaterJson: true
- name: Portable executable
if: runner.os == 'Windows'
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cp target/release/atmosphere.exe "Atmosphere_${{ needs.check.outputs.version }}_x64-portable.exe"
gh release upload "$GITHUB_REF_NAME" "Atmosphere_${{ needs.check.outputs.version }}_x64-portable.exe" --clobber
finalize:
needs: publish
runs-on: windows-latest
steps:
- name: Publish the release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release edit "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --draft=false --latest