diff --git a/.github/workflows/theseus-build.yml b/.github/workflows/theseus-build.yml index aa06ea0d9..3f882f506 100644 --- a/.github/workflows/theseus-build.yml +++ b/.github/workflows/theseus-build.yml @@ -156,6 +156,7 @@ jobs: 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' }} if: contains(matrix.platform, 'macos') env: + TAURI_BUNDLER_DMG_IGNORE_CI: 'true' ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }} APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} diff --git a/apps/app/dmg/dmg-background.png b/apps/app/dmg/dmg-background.png new file mode 100644 index 000000000..4572f8936 Binary files /dev/null and b/apps/app/dmg/dmg-background.png differ diff --git a/apps/app/tauri.conf.json b/apps/app/tauri.conf.json index 78cd1638e..c1b9d0800 100644 --- a/apps/app/tauri.conf.json +++ b/apps/app/tauri.conf.json @@ -30,7 +30,22 @@ "exceptionDomain": "", "frameworks": [], "providerShortName": null, - "signingIdentity": null + "signingIdentity": null, + "dmg": { + "background": "./dmg/dmg-background.png", + "windowSize": { + "width": 661, + "height": 432 + }, + "appPosition": { + "x": 188, + "y": 212 + }, + "applicationFolderPosition": { + "x": 475, + "y": 212 + } + } }, "shortDescription": "", "linux": {