From 08e99e4074bc02ca7fc16812d6f3f94a9087b538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Maih=C3=B6fer?= Date: Tue, 27 Feb 2024 18:04:26 +0100 Subject: [PATCH] build dmg... --- .github/workflows/nightly.yml | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d5cda01..c5a02da 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -68,6 +68,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: cables_electron/dist/mac-arm64/cables.app - asset_name: cables.app + asset_path: cables_electron/dist/cables-0.0.1-arm64.dmg + asset_name: cables-0.0.1-arm64.dmg asset_content_type: application/octet-stream diff --git a/package.json b/package.json index 13e52f1..40d602a 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "build": "gulp build", "test": "echo \"Error: no test specified\" && exit 1", "pack": "electron-builder --dir", - "p": "electron-builder --dir --config -c.mac.identity=null", + "p": "electron-builder --config -c.mac.identity=null", "dist": "electron-builder" }, "build": { @@ -50,6 +50,7 @@ } ], "mac": { + "target": ["dmg"], "category": "public.app-category.developer-tools" }, "nodeVersion": "18.14.2",