From 8d51cc6cc89f5177a9405423010cf95017450021 Mon Sep 17 00:00:00 2001 From: Lucas Date: Sun, 3 Dec 2023 14:15:42 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20=20Only=20build=20for=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create-release.yml | 2 +- src-tauri/tauri.conf.json | 23 +++++------------------ 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index bc32150..1a4ff28 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -6,7 +6,7 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - name: Checkout code diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5f24b11..de866f6 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -27,24 +27,11 @@ }, "bundle": { "active": true, - "targets": "all", + "targets": "msi", "identifier": "somfic.dev.vla", - "icon": [ - "icons/32x32.png", - "icons/128x128.png", - "icons/128x128@2x.png", - "icons/icon.icns", - "icons/icon.ico" - ], - "externalBin": [ - "binaries/csharp" - ], - "resources": [ - ".\\libgcc_s_seh-1.dll", - ".\\libstdc++-6.dll", - ".\\libvosk.dll", - ".\\libwinpthread-1.dll" - ] + "icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"], + "externalBin": ["binaries/csharp"], + "resources": ["LdaNative.dll", "uiohook.dll", "runtimes\\win-x64\\whisper.dll"] }, "security": { "csp": null @@ -59,4 +46,4 @@ } ] } -} \ No newline at end of file +}