Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

Add light branded background to macOS DMG installer (#7957)

Anthony Stirling9f062c62597f
diff --git a/.github/workflows/multiOSReleases.yml b/.github/workflows/multiOSReleases.yml
index 6fbec4e787..187855eee2 100644
--- a/.github/workflows/multiOSReleases.yml
+++ b/.github/workflows/multiOSReleases.yml
@@ -455,6 +455,7 @@ jobs:
- name: Build Tauri app
uses: tauri-apps/tauri-action@1deb371b0cd8bd54025b384f1cd735e725c4060f # v1.0.0
env:
+ TAURI_BUNDLER_DMG_IGNORE_CI: "true"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
diff --git a/.github/workflows/tauri-build.yml b/.github/workflows/tauri-build.yml
index 1cdbe4ea7e..fbf1bed0e1 100644
--- a/.github/workflows/tauri-build.yml
+++ b/.github/workflows/tauri-build.yml
@@ -124,6 +124,7 @@ jobs:
matrix: ${{ fromJson(needs.determine-matrix.outputs.matrix) }}
runs-on: ${{ matrix.platform }}
env:
+ TAURI_BUNDLER_DMG_IGNORE_CI: "true"
SM_API_KEY: ${{ secrets.SM_API_KEY }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
RELEASE_GPG_PRIVATE_KEY: ${{ secrets.RELEASE_GPG_PRIVATE_KEY }}
diff --git a/frontend/editor/src-tauri/macos/dmg/background.png b/frontend/editor/src-tauri/macos/dmg/background.png
new file mode 100644
index 0000000000..313d278ca0
Binary files /dev/null and b/frontend/editor/src-tauri/macos/dmg/background.png differ
diff --git a/frontend/editor/src-tauri/tauri.conf.json b/frontend/editor/src-tauri/tauri.conf.json
index cdd29e708f..8087119dd3 100644
--- a/frontend/editor/src-tauri/tauri.conf.json
+++ b/frontend/editor/src-tauri/tauri.conf.json
@@ -67,6 +67,12 @@
}
},
"macOS": {
+ "dmg": {
+ "background": "macos/dmg/background.png",
+ "windowSize": { "width": 660, "height": 400 },
+ "appPosition": { "x": 200, "y": 210 },
+ "applicationFolderPosition": { "x": 460, "y": 210 }
+ },
"minimumSystemVersion": "10.15",
"signingIdentity": null,
"entitlements": null,