Skip to content

Commit cb52c45

Browse files
fixes
1 parent ebb6dae commit cb52c45

13 files changed

Lines changed: 667 additions & 67 deletions

File tree

.github/workflows/release-tauri.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ jobs:
9393
| macOS | `.dmg` (Apple Silicon and/or Intel) |
9494
| Windows | `.msi` or `.exe` |
9595
| Linux | `.AppImage` |
96+
97+
**macOS:** Builds are **not notarized**. On **Apple Silicon**, use the **aarch64** `.dmg`. If you see *“Aerosol is damaged”*, that is usually **Gatekeeper** — [fix in the manual](https://aerosol.januscaler.com/manual#macos-install-github-release-builds) (e.g. `xattr -cr /Applications/Aerosol.app` or right-click → **Open**).
9698
releaseDraft: false
9799
prerelease: false
98100
uploadUpdaterJson: false
@@ -116,6 +118,15 @@ jobs:
116118
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117119
run: bash .github/scripts/resolve-release-installers.sh "${{ github.repository }}" "${{ github.ref_name }}" >> "$GITHUB_OUTPUT"
118120

121+
- name: Write latest-release.json for download page (same-origin fetch in browser)
122+
env:
123+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
124+
continue-on-error: true
125+
run: |
126+
gh api "repos/${{ github.repository }}/releases/latest" \
127+
--jq '{tag_name: .tag_name, html_url: .html_url, published_at: .published_at, assets: [.assets[] | {name, browser_download_url, size}]}' \
128+
> website/public/latest-release.json
129+
119130
- name: Setup Node
120131
uses: actions/setup-node@v4
121132
with:

.github/workflows/website-docker.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ jobs:
2828
id: webver
2929
run: echo "version=$(node -p "require('./website/package.json').version")" >> "$GITHUB_OUTPUT"
3030

31+
- name: Write latest-release.json for download page
32+
env:
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
continue-on-error: true
35+
run: |
36+
gh api "repos/${{ github.repository }}/releases/latest" \
37+
--jq '{tag_name: .tag_name, html_url: .html_url, published_at: .published_at, assets: [.assets[] | {name, browser_download_url, size}]}' \
38+
> website/public/latest-release.json
39+
3140
- name: Docker Hub login
3241
uses: docker/login-action@v3
3342
with:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ website/.env
3535
website/.env.*
3636
!website/.env.example
3737

38+
# Generated in CI from GitHub API; copied into the static site for download links.
39+
website/public/latest-release.json
40+
3841
# VitePress under other paths in the future
3942
**/.vitepress/dist/
4043
**/.vitepress/cache/

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ npm run tauri build
6565

6666
Installers and bundles appear under `src-tauri/target/release/bundle/` (exact layout depends on OS and Tauri bundle settings in [`src-tauri/tauri.conf.json`](src-tauri/tauri.conf.json)).
6767

68+
### macOS: “damaged” or can’t open (unsigned builds)
69+
70+
GitHub Actions builds are **not** notarized. On **Apple Silicon**, use the **aarch64** `.dmg`. If macOS says the app is **damaged**, that is usually **Gatekeeper** — see the [user manual](website/manual.md#macos-install-github-release-builds) (`xattr -cr`, **Open Anyway**, or right-click **Open**). For distribution without warnings, set up **Developer ID signing + notarization** ([Tauri docs](https://v2.tauri.app/distribute/sign/macos/)).
71+
6872
## Documentation & marketing site
6973

7074
The public site (landing, manual, comparison page, download buttons) lives in **`website/`**. It is intended to be served at **https://aerosol.januscaler.com** (Docker/Caddy in-repo, or any static host). See [`website/README.md`](website/README.md) for deployment details.

src-tauri/tauri.conf.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
"bundle": {
2525
"active": true,
2626
"targets": "all",
27+
"macOS": {
28+
"signingIdentity": "-",
29+
"hardenedRuntime": false
30+
},
2731
"icon": [
2832
"icons/icon.icns",
2933
"icons/icon.ico",

0 commit comments

Comments
 (0)