mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
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:
@@ -0,0 +1,15 @@
|
||||
<!-- install-notes -->
|
||||
|
||||
### Downloads
|
||||
|
||||
| File | What it is |
|
||||
| --- | --- |
|
||||
| `Atmosphere_*_x64-setup.exe` | The installer (recommended). Updates itself from then on. |
|
||||
| `Atmosphere_*_x64_en-US.msi` | The same app as an MSI, for managed installs. |
|
||||
| `Atmosphere_*_x64-portable.exe` | No install. Keeps its data beside the file when you add a `portable` file next to it. |
|
||||
|
||||
Atmosphere runs on Windows 10 and 11 (64-bit).
|
||||
|
||||
> [!WARNING]
|
||||
> **Atmosphere isn't code-signed yet**, so Windows SmartScreen may say "Windows protected your PC", and some antivirus apps may flag it as a false positive. To install anyway, choose **More info → Run anyway**.
|
||||
> Every file here is built from this repository's source by GitHub Actions, and in-app updates are still signature-checked before they install.
|
||||
+11
-29
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user