Skip to content

Commit dcab665

Browse files
authored
feat: add dmg background (#5988)
* feat: add dmg background * try this? * adjust dmg size * one last tweak * adjust height one more time * adjust sizing, make image larger to be safe * oops image missed in last commit * smallify image * new image * fix offcenter highlight * try glass text bg * smaller glass
1 parent 2f31164 commit dcab665

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/theseus-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ jobs:
156156
run: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && 'pnpm --filter=@modrinth/app run tauri build --target universal-apple-darwin --config tauri-release.conf.json' || 'pnpm --filter=@modrinth/app run tauri build --target universal-apple-darwin --config tauri-dev.conf.json' }}
157157
if: contains(matrix.platform, 'macos')
158158
env:
159+
TAURI_BUNDLER_DMG_IGNORE_CI: 'true'
159160
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
160161
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
161162
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}

apps/app/dmg/dmg-background.png

284 KB
Loading

apps/app/tauri.conf.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,22 @@
3030
"exceptionDomain": "",
3131
"frameworks": [],
3232
"providerShortName": null,
33-
"signingIdentity": null
33+
"signingIdentity": null,
34+
"dmg": {
35+
"background": "./dmg/dmg-background.png",
36+
"windowSize": {
37+
"width": 661,
38+
"height": 432
39+
},
40+
"appPosition": {
41+
"x": 188,
42+
"y": 212
43+
},
44+
"applicationFolderPosition": {
45+
"x": 475,
46+
"y": 212
47+
}
48+
}
3449
},
3550
"shortDescription": "",
3651
"linux": {

0 commit comments

Comments
 (0)