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
+11 -29
View File
@@ -1,4 +1,4 @@
# atmosphere · build.yml · CI: runs the tests and builds installers for Windows, macOS (Apple Silicon + Intel) and Linux.
# atmosphere · build.yml · CI: runs the tests and builds the Windows installers and portable app.
name: build
on:
@@ -9,34 +9,22 @@ on:
jobs:
build:
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
@@ -46,22 +34,16 @@ jobs:
run: cargo tauri build --config '{"bundle":{"createUpdaterArtifacts":false}}'
- name: Portable executable
if: runner.os == 'Windows'
uses: actions/upload-artifact@v4
with:
name: atmosphere-portable-${{ matrix.name }}
name: atmosphere-portable-windows-x64
path: target/release/atmosphere.exe
if-no-files-found: error
- uses: actions/upload-artifact@v4
with:
name: atmosphere-${{ matrix.name }}
name: atmosphere-windows-x64
path: |
target/release/bundle/**/*.msi
target/release/bundle/**/*.exe
target/release/bundle/**/*.dmg
target/release/bundle/**/*.app.tar.gz
target/release/bundle/**/*.deb
target/release/bundle/**/*.rpm
target/release/bundle/**/*.AppImage
if-no-files-found: error