diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b602895c..f570f563 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -264,6 +264,9 @@ jobs: - name: Empaqueta la .app y el .dmg run: just bundle + env: + # Con CI=true, el bundler de Tauri no maqueta la ventana del .dmg con Finder. + TAURI_BUNDLER_DMG_IGNORE_CI: 'true' - name: Sube el .dmg y la actualizacion uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 diff --git a/packaging/macos/dmg-background.tiff b/packaging/macos/dmg-background.tiff new file mode 100644 index 00000000..23499467 Binary files /dev/null and b/packaging/macos/dmg-background.tiff differ diff --git a/packaging/macos/tauri.macos.json b/packaging/macos/tauri.macos.json index 793d95af..c8aa9751 100644 --- a/packaging/macos/tauri.macos.json +++ b/packaging/macos/tauri.macos.json @@ -8,7 +8,13 @@ "infoPlist": "../../packaging/macos/Info.plist", "minimumSystemVersion": "15.4", "signingIdentity": "-", - "hardenedRuntime": false + "hardenedRuntime": false, + "dmg": { + "background": "../../packaging/macos/dmg-background.tiff", + "windowSize": { "width": 660, "height": 400 }, + "appPosition": { "x": 180, "y": 170 }, + "applicationFolderPosition": { "x": 480, "y": 170 } + } } }, "plugins": {